/** * * @return Zupal_People */ public static function getInstance() { if (is_null(self::$_Instance)) { // process self::$_Instance = new self(); } return self::$_Instance; }
/** * */ public function dataAction() { $this->_helper->layout->disableLayout(); $this->view->data = Zupal_Employees::getInstance()->render_data(array(), 'salary'); }