function admin_edit($id = null) { parent::admin_edit($id); $parentAcos = $this->Aco->ParentAco->find('list'); $aros = $this->Aco->Aro->find('list'); $this->set(compact('parentAcos', 'aros')); }
function beforeFilter() { parent::beforeFilter(); if (isset($this->params['form']['action']) && $this->params['form']['action'] == 'cancel') { unset($this->params['form']['action']); $this->redirect(array_merge(array('action' => 'list_items'), $this->params['named'])); } }
function beforeFilter() { parent::beforeFilter(); }
function beforeFilter() { parent::beforeFilter(); $this->configTypes = array('bool' => __('Boolean Value', true), 'dropdown' => __('Selectable List', true), 'integer' => __('Integer input', true), 'string' => __('String input', true)); }
function beforeFilter() { parent::beforeFilter(); $this->listThemes = array(0 => __('Default', true)) + $this->Route->Theme->find('list'); }