Is it possible to make available a value from appController to all of
the models that are called by an action?
I have some security filtering information that I want to make available
to all beforeFind callBacks. The information is gathered by
appController and currently I use:
$this->ModelName->dataAcoList = $dataAcoList;
To make it available in each model. It works fine, but I have to do it
for each model that is used in the action which is inefficient and
easily overlooked.
Any suggestions greatly appreciated.
Regards,
Langdon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---