perhaps he meant a name variable, as shown in the following example:
1. <?php
2. class Ingredient extends AppModel {
3. var $name = 'Ingredient';
4. }
5. ?>
On Thu, Aug 26, 2010 at 1:23 AM, psybear83 <[email protected]> wrote:
> Hi all
>
> I'm just digging into CakePHP and continue an application of my
> previous co-worker. He told me that every model needs a "name" field
> in the database. Why's that? I did a search on Google but could't find
> an answer...
>
> Thanks
> Josh
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
> more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en