models have behaviours

controller have components

and views have helpers

also you can add a function to the appmodel and then all models have access
to it
there is an example that shows this on the link to book you posted.

2008/8/28 trustfundbaby <[EMAIL PROTECTED]>

>
> I guess I'm talking more along the lines of virtual attributes in
> Rails.
> http://railscasts.com/episodes/16
> I just called it custom properties because thats what its called here
> (although there are no examples)
> http://manual.cakephp.org/view/72/custom-methods-and-properties
>
> On Aug 28, 8:19 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> > I don't get what you mean with "custom properties". Maybe it's just me
> > but, can you elaborate a bit more please?
> >
> > On Thu, Aug 28, 2008 at 2:03 AM, trustfundbaby <[EMAIL PROTECTED]>
> wrote:
> >
> > > How do you specify custom properties in a CakePHP model?
> > > I'm trying to do this, but there is no sample code any where that
> > > shows how its done, can someone point me in the right direction?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to