cake-php@googlegroups.com
[Top] [All Lists]

Re: Does every model really need a "name" field? --psybear

Subject: Re: Does every model really need a "name" field? --psybear
From: Joshua Muheim
Date: Thu, 4 Nov 2010 13:29:46 +0100
Oh, and there isn't the possibility to define a method which would
return the value on the fly?

function displayValue() {
  return 'heeey!!';
}

On Thu, Nov 4, 2010 at 1:26 PM, Joshua Muheim <psybear83@xxxxxxxxx> wrote:
> OK, the point with automatically populating lists seems reasonable.
> Thank you, guys!
>
> On Thu, Nov 4, 2010 at 1:22 PM, Almudena Garcia <garcia.fraile@xxxxxxxxx> 
> wrote:
>> it's not a must, actually I don't see the point of that
>>
>> 2010/11/4 Joshua Muheim <psybear83@xxxxxxxxx>
>>>
>>> > Is this what you mean??
>>>
>>> I guess not really... I have taken over an existing application where
>>> every table has a name field.  So I wonder if this really is a "must"
>>> or not.
>>>
>>> I'm aware that every model needs a $name variable, thank you. :-)
>>>
>>> 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 cake-php@xxxxxxxxxxxxxxxx
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx 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 cake-php@xxxxxxxxxxxxxxxx
>> To unsubscribe from this group, send email to
>> cake-php+unsubscribe@xxxxxxxxxxxxxxxx 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 cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>