public static function getAppVersion()
    {
        global $objPage;

        if (TL_MODE == 'FE' && $objPage)
        {
            return PageModel::findById($objPage->rootId)->fb_app_version ?: Config::get('fb_app_version');
        }

        return Config::get('fb_app_version');
    }
public static function getAppVersion()
    {
        global $objPage;

        if (TL_MODE == 'FE' && $objPage)
        {
            return PageModel::findById($objPage->rootId)->fb_app_version ?: Config::get('fb_app_version');
        }

        return Config::get('fb_app_version');
    }
public static function getAppVersion ( ) { global $ objPage ; if ( TL_MODE == 'FE' && $ objPage ) { return PageModel :: findById ( $ objPage -> rootId ) -> fb_app_version ? : Config :: get ( 'fb_app_version' ) ; } return Config :: get ( 'fb_app_version' ) ; }
Returns the defined Facebook App API version in the root page or system settings.
@return string
Returns the defined Facebook App API version in the root page or system settings .