public function initialize() { parent::initialize(); $this->loadComponent('RequestHandler'); $this->loadComponent('Search.Prg', ['actions' => ['index']]); $this->set('_serialize', 'output'); }
/** * Initialize * @return void */ public function initialize() { parent::initialize(); }
public function initialize() { parent::initialize(); $this->loadComponent('Flash'); $this->loadComponent('Auth'); }
public function initialize() { parent::initialize(); $this->loadComponent('Search.Prg', ['actions' => ['index']]); }
/** * Making sure that we use the Posts plugin's model layer * * @return void */ public function initialize() { parent::initialize(); $this->loadModel('Posts.Posts'); }