Пример #1
0
 /**
  * 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);
     }
 }
Пример #2
0
 /**
  * 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);
 }