Exemplo n.º 1
0
 /**
  * 实例化本程序
  * @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;
 }
Exemplo n.º 2
0
 /**
  * 得到布局模板
  * @return string
  */
 public function getLayout()
 {
     $this->_layouter->getLayout();
 }