Пример #1
0
 public function selectCode(array $data)
 {
     return $this->store->select();
 }
Пример #2
0
 /**
  * Chama o método armazenado no indice <code>action<code/>
  *
  * @return json <code>$result<code/>
  */
 public function callAction()
 {
     $action = $this->store->getModel()->getSubmit()->getRawValue('action');
     return method_exists($this, $action) ? call_user_func(array($this, $action)) : $this->UNEXPECTED_COMMAND;
 }