public function indexAction() { $records = Stock::queryAll(); $object = ["records" => $records, "FieldsIndex" => $this->FieldsIndex, "module" => $this->module, "key" => $this->key]; return View::make($this->routeIndex, $object); }