DarkAuth->isAllowed(array('Chocolate Lover'))){ $data = $this->CookieJar->findAll(array('Chocolate'=>true)); }else{ $data = $this->CookieJar->findAll(array('Chocolate'=>false)); } ?>