public function selectCode(array $data) { return $this->store->select(); }
/** * 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; }