Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. public function index() {
  2. $fetishes = $this->Fetishes->find('threaded', ['fields' => ['id', 'parent_id', 'name'],
  3. 'conditions' => ['status >' => Fetish::STATUS_INACTIVE]]);
  4. $this->set(compact('fetishes'));
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement