Re: Big problem with using Model 1.3
It work. I check directly url to function and returned data. I want
display resault by helper
function getGroupsList(){
App::import('Controller', 'groups');
$group = new GroupsController();
return $group->groupList();
}
In view:
<? echo $show->getUsersList();?>
App::import('Model', "Users");
$user = new Users();
$this->set('users', $user->find('all') );
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home