/** * Realiza una busqueda * */ public function busqueda() { Load::lib('validate'); if (Input::hasGet('b') && Validate::isNull(Input::get('b'))) { $this->b = Input::get('b'); $articulo = new Articulo(); //Debug::getInstance()->dump($this->articulo->search($this->b), 'Resultado'); $this->result = $articulo->search($this->b); } }
/** * Verifica si existe el elemento indicado en $_GET * * @param string elemento a verificar * @return boolean * * @deprecated Ahora se usa <code>Input::hasGet()</code> * */ protected function has_get($var) { return Input::hasGet($var); }