/** * Returns class instance * * @return GHEADER_MCLASS_NewsfeedBridge */ public static function getInstance() { if (!isset(self::$classInstance)) { self::$classInstance = new self(); } return self::$classInstance; }
public function mobileInit() { $this->genericInit(); GHEADER_MCLASS_NewsfeedBridge::getInstance()->init(); }