Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.18 KB | None | 0 0
  1. function index($type = 'all') {
  2.    $this->User->find('all',array('conditions' => array('User.type' => $type));
  3. }
  4.  
  5. function deactivated() {
  6.   return $this->index('deactivated');
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement