I meant {n}, not (n).
On 17 jan, 13:10, Raistlin Majere <[EMAIL PROTECTED]> wrote:
> CakePHP 1.1.19.6305
> MySQL 4.1.9
> PHP 4.3.10
>
> At the chapter models of the CakePHP Manual, there is an example of a
> function "to generate a list of roles based on your Role model, keyed
> by their integer ids" The function is generateList and (n) is used
> twice in its parameters. What is {n}?
>
> $this->Role->generateList(null, 'role_name ASC', null, '{n}.Role.id',
> '{n}.Role.role_name')
>
> -http://manual.cakephp.org/chapter/models
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---