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