Sometimes because of naming conventions / join tables you might end up with
a long crazy name or easily misspelled like
$this->EmployersEmployee->doSomething(); (EmployerEmployee is an example so
no answers saying use a different name or change relations, that's not what
the question is about)
or something where so you could infact use
$this->{$this->modelClass}->doSomething();
Is there anything wrong by just using $this->{$this->modelClass}-> in the
controller for these times or for general use if your just lazy?
Thanks,
K
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php