/** * Returns an instance of class (singleton pattern implementation). * * @return OW_EventManager */ public static function getInstance() { if (self::$classInstance === null) { self::$classInstance = new self(); } return self::$classInstance; }
/** * @return OW_Authorization */ public static function getAuthorization() { return OW_Authorization::getInstance(); }