Redaxscript\Modules\Experiments\Experiments::renderStart PHP Метод

renderStart() публичный статический Метод

renderStart
С версии: 3.0.0
public static renderStart ( )
    public static function renderStart()
    {
        if (Registry::get('loggedIn') !== Registry::get('token')) {
            $script = Head\Script::getInstance();
            $script->init('foot')->appendFile('//google-analytics.com/cx/api.js?experiment=' . self::$_configArray['id'])->appendFile('modules/Experiments/assets/scripts/init.js')->appendFile('modules/Experiments/assets/scripts/experiments.js');
        }
    }
Experiments