on?
So it just has bare
'Model' => array(
'className' => 'Model',
'foreignKey' => 'user_id',
'dependent' => false,
Dave
-Original Message-
From: bria
'order' => array('Tag.created' => 'ASC', 'TAG.id' => 'ASC')
But using 'created' should be sufficient as the id column *usually*
remains the same.
On Thu, Sep 17, 2009 at 8:46 AM, Dave wrote:
>
> A standard baked model may have something that looks like this:
>
> 'Tag' => array(
>
no, but yes.
Have a model, but in it set
var $useTable = false;
On Jul 21, 3:55 pm, Binoy wrote:
> Is it possible to create a new functionlity without model ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake
On 9/10/07, Troy Gilbert <[EMAIL PROTECTED]> wrote:
>
> Am I correct in my thinking that the reason data is returned this way
> is for the scenario where a model has an association, e.g. if post had
> a user:
>
> Array
> (
> [Post] => Array ( [field1] => 'value', [field2] => 'value' )
> [U
> That's not a bug. Data is always returned in this format:
>
> Array
> (
> [ModelName] => Array
> (
> [fieldname1] => 'value'
> [fieldname2] => 'value'
> )
> )
Am I correct in my thinking that the reason data is returned this way
is for the scenario w
On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> If I use $this->set('post',$this->Post->read()); in the controller
>
> Why do I have to access it like this in the view:
>
> echo $post['Post']['id'];
>
> Shouldn't the proper way be echo $post['id'];
>
> Is this a bug? Has the spec chang