public function getjsonlote() { $this->load->dao('estoque/estoqueDao'); $this->load->dao('estoque/iListagemEstoque'); $this->load->dao('estoque/listarArmazem'); $estoqueDao = new estoqueDao(); $estoque = $estoqueDao->listar(new listarArmazem()); $this->http->response($estoqueDao->getJsonEstoque($estoque)); }