/** * 实例化本程序 * @param $args = func_get_args(); * @return object of this class */ public static function getInstance() { if (!isset(self::$_instance)) { self::$_instance = new self(); } return self::$_instance; }
/** * 得到布局模板 * @return string */ public function getLayout() { $this->_layouter->getLayout(); }