You can not. Model 'doesn't know' about controller (or it's component)
or view (or it's helper). Model is only interface to repository of data
(database/filesystem/network...) and has to be completely driven from
controller (in some special cases is usable use model in different
places then controller and You can create instance of Your model class
for such a things).

If You want some componentized functionality in Your models (as
components for controllers or helpers for views), You will have to wait
for CakePHP 1.2 - new term 'Behavior' is coming ;-)


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

Reply via email to