/** * to get singleton instance * * @access public * @return object */ public function &getSingleton() { if (self::$instance == null) { self::$instance = new RBAC(); } return self::$instance; }
/** * to get singleton instance * * @access public * @return object */ function &getSingleton() { if (self::$instance == NULL) { self::$instance = new RBAC(); } return self::$instance; }