コード例 #1
0
 /**
  * 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;
 }
コード例 #2
0
 /**
  * Prepare execute hook.
  *
  * @return void
  */
 protected function prepareExecute()
 {
     parent::prepareExecute();
     $this->cid = $this->input->get('cid', array(), 'array');
 }