public function ShowAll() { Phalanx::loadClasses('Accounting'); $current_year = $this->get->year ? $this->get->year : date('Y'); $this->views->data = Accounting::getByYear($current_year); $this->views->current_year = $current_year; $this->views->display('accounting_list.phtml'); }