/** * Prepare execute hook. * * @return void */ protected function prepareExecute() { $this->context = ContextHelper::fromController($this, 'edit'); parent::prepareExecute(); $this->recordId = $this->input->get($this->urlVar); // Populate the row id from the session. $this->data[$this->key] = $this->recordId; }
/** * Prepare execute hook. * * @return void */ protected function prepareExecute() { parent::prepareExecute(); $this->cid = $this->input->get('cid', array(), 'array'); }