| You can use $uses variable to your controller for getting another controller and it's functions. the code will be like -- class ProfilesController extends AppController { var $name = 'Profiles'; var $uses = array('Profile' function viewprofile( echo $this->Address->view(); } } On $uses variable you must have to define both the model names of current controller and another controller. Humayun Kabir, Analyst Programmer SureSoft Technology Limited --- On Fri, 5/22/09, Anupom <anupom.nsu@gmail.
|
__._,_.___
Visit phpXperts website at www.phpxperts.net
MARKETPLACE
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
.
__,_._,___
No comments:
Post a Comment