Exemple #1
0
Fichier : Page.php Projet : Gorp/pr
 public static function getInstance()
 {
     if (null === self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
 public static function instance()
 {
     if (Model_Page::$_instance === NULL) {
         Model_Page::$_instance = new Model_Page();
     }
     return Model_Page::$_instance;
 }