Example #1
0
 /**
  * the singleton pattern
  *
  * @return Sales_Acl_Rights
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new Sales_Acl_Rights();
     }
     return self::$_instance;
 }
 /**
  * the singleton pattern
  *
  * @return Sales_Acl_Rights
  */
 public static function getInstance()
 {
     if (self::$_instance === NULL) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }