public function execute() { $config = $this->getConfig(); $metodo = new metodoRiegoTable($config); $indicio = filter_input(INPUT_POST, 'filtro'); $this->objMetodo = $metodo->getAll($indicio); $this->defineView('metodoRiego', 'index', 'html'); }
public function execute() { $config = $this->getConfig(); $metodo = new metodoRiegoTable($config); $buscar = filter_input(INPUT_POST, 'filtro'); $this->objMetodo = $metodo->getAll($buscar); $this->defineView('metodoRiego', 'listar', 'html'); }