protected function __construct($db, $filtro, $sql) { $this->filtro = $filtro; $this->sql = $sql; $data = new ControladorAccess($db, $this->sql); $this->coleccion = $data->get_array_data(); $this->json = $data->get_json_data(); }
protected function __construct($db, $filtro, $sql) { $this->filtro = $filtro; $this->sql = $sql; $data = new ControladorAccess($db, $this->sql); $this->coleccion = $data->get_array_data(); $this->json = $data->get_json_data(); }