If it's logic used by multiple Controllers it should go in a Component.
--
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to
Somewhere between 2.0.1 and 2.2.2 the Utility/Xml class lost the ability to
consume and html string and output it as an array. Obviously this is an
Xml class and I was asking it to work with HTML, but does anyone know if
CakePHP has a class to do this still (turn html to array)?
--
You
My setup
Blogs
- hasMany Posts
- hasAndBelongsToMany Accounts
Post
- belongsTo Blog
- belongsTo Account
-hasMany Note
Note
- belongsTo Post
- belongsTo Account
Account
- hasMany Post
- hasMany Note
- hasAndBelongsToMany Blog
The issue comes when I am in Posts and I do a recursive = 2, which
I wanted to add something else to this.
If you have a table Users and you try to select against it, CakePHP
uses the table alias of User, however this is a reserved word in
Oracle.
Any ideas how to get around this?
--~--~-~--~~~---~--~~
You received this
Found a ticket submitted here:
http://groups.google.com/group/tickets-cakephp/msg/25b70f403ce47e23
This is for the reserved words table names.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To
Where I work, we are testing out CakePHP to replace our existing
codebase.
I have two questions.
1. Do all primary keys for tables have to be 'id'?
2. I have 3 tables, blogs, posts, users.
bblogs/b
uid/u
user_id
title
subtitle
bposts/b
uid/u
blog_id
user_id
added
updated
text
busers/b
uid/u
This makes me wonder if anyone has done it. My project needs to
connect to Oracle and it looks like the Adodb lib is the only one we
can use to do that.
I will post back later if we get it working.
On Oct 23, 6:17 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Has anyone successfully used
var $default = array(
'driver' = 'adodb',
'connect' = 'oci8',
'host' = '',
'login'= 'username',
'password' = 'password',
'database' = 'dbname',