Exemplo n.º 1
0
 /**
  * Returns class instance
  *
  * @return UHEADER_MCLASS_EventHandler
  */
 public static function getInstance()
 {
     if (!isset(self::$classInstance)) {
         self::$classInstance = new self();
     }
     return self::$classInstance;
 }
Exemplo n.º 2
0
<?php

UHEADER_MCLASS_EventHandler::getInstance()->init();
UHEADER_MCLASS_NewsfeedBridge::getInstance()->init();
UHEADER_MCLASS_NotificationsBridge::getInstance()->init();