コード例 #1
0
 /**
  * Prepare execute hook.
  *
  * @return void
  */
 protected function prepareExecute()
 {
     parent::prepareExecute();
     $this->data = $this->input->post->get('jform', array(), 'array');
     $this->context = sprintf('%s.edit.%s', $this->option, $this->name);
     $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');
     $this->context = $this->option . '.list.' . $this->context;
 }