public function getGlobals() { if (SystemUtil::isInstallMode()) { return array(); } return array("campaignchain_user_time_format" => array('moment_js' => $this->datetime->getUserTimeFormat()), "campaignchain_user_datetime_format" => array('moment_js' => $this->datetime->getUserDatetimeFormat('moment_js'), 'iso8601' => $this->container->get('session')->get('campaignchain.dateFormat') . ' ' . $this->container->get('session')->get('campaignchain.timeFormat')), "campaignchain_user_timezone_offset" => $this->getGlobalTimezoneOffset(), "campaignchain_user_timezone_abbreviation" => $this->getGlobalTimezoneAbbreviation(), 'campaignchain_system' => $this->system(), 'campaignchain_theme' => $this->theme(), 'campaignchain_env' => $this->container->getParameter('campaignchain.env'), 'campaignchain_core_scheduler_interval' => $this->container->getParameter('campaignchain_core.scheduler.interval'), 'campaignchain_relative_start_date' => new \DateTime(Campaign::RELATIVE_START_DATE), 'campaignchain_layout' => $this->getGlobalLayout(), 'campaignchain_is_first_login' => $this->isFirstLogin()); }