Can you extend out controllers just like a controller extends
app_controller?

 

I have my users_controller and the user/person can edit various "settings"
in their account but I do not want these settings edited in the form to
update standard user info (name, location, and so on) simple actions to
update the "setting" fields so I would like a settings controller to extend
users and then settings_controller action edit would do what I need it to
do.

 

I would like to keep specific functions / logistical operations
compartmentalized so when updating the User settings 2 years down the road
someone coming along is not wondering where is the users settings since edit
just updates 

 

I know I can add the function into the users_controller, I also know I can
make a user has 1 setting belongs to user and break up the db in this case,
or settings_controller var $uses => array('User');  but that's not what im
asking so is it OK to extend it out?

 

Thanks guys!

 

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

Reply via email to