Esempio n. 1
0
 /**
  * Returns an instance of class (singleton pattern implementation).
  *
  * @return EVENT_CLASS_InvitationHandler
  */
 public static function getInstance()
 {
     if (self::$classInstance === null) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Esempio n. 2
0
 public function init()
 {
     EVENT_CLASS_InvitationHandler::getInstance()->init();
     //OW::getEventManager()->bind('event.get_content_menu', 'getContentMenu');
 }