Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function owngroup(){
- $user_id = $this->Session->read('Auth');
- $user_id = $user_id['User']['id'];
- $services= $this->Service->find('all', array(
- 'recursive' => 2,
- 'conditions' => array(
- 'User.id' => $user_id
- ),
- )
- );
- debug($services);
- exit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement