示例#1
0
文件: Page.php 项目: Gorp/pr
 public static function getInstance()
 {
     if (null === self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
示例#2
0
 public static function instance()
 {
     if (Model_Page::$_instance === NULL) {
         Model_Page::$_instance = new Model_Page();
     }
     return Model_Page::$_instance;
 }