Ejemplo n.º 1
0
Archivo: Page.php Proyecto: Gorp/pr
 public static function getInstance()
 {
     if (null === self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Ejemplo n.º 2
0
 public static function instance()
 {
     if (Model_Page::$_instance === NULL) {
         Model_Page::$_instance = new Model_Page();
     }
     return Model_Page::$_instance;
 }