本文整理汇总了PHP中helper::init方法的典型用法代码示例。如果您正苦于以下问题:PHP helper::init方法的具体用法?PHP helper::init怎么用?PHP helper::init使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类helper
的用法示例。
在下文中一共展示了helper::init方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: help
/**
* Affichage de toutes les aides
*/
public static function help()
{
$msg = helper::init(true);
$msg .= helper::module(true);
$msg .= helper::dao(true);
return $msg;
}
示例2: initAssigns
/**
* View-Variablen initialisieren
*/
protected function initAssigns()
{
/**
* CSS und JS Files
*/
$this->assign('FPCM_CSS_FILES', $this->getViewCssFiles());
$this->assign('FPCM_JS_FILES', $this->getViewJsFiles());
$this->assign('FPCM_JS_VARS', $this->getJsVars());
/**
* Pfade
*/
$this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
$this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
$this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
/**
* Sprache
*/
$this->assign('FPCM_LANG', $this->language);
/**
* Meldungen
*/
$this->assign('FPCM_MESSAGES', $this->getMessages());
helper::init($this->config->system_lang);
}
示例3: initAssigns
/**
* View-Variablen initialisieren
*/
protected function initAssigns()
{
/**
* CSS und JS Files
*/
$this->assign('FPCM_CSS_FILES', $this->config->system_mode && !$this->forceCss ? array() : $this->getViewCssFiles());
$jsFiles = $this->getViewJsFiles();
if ($this->config->system_mode && !$this->config->system_loader_jquery) {
unset($jsFiles[0]);
}
$this->assign('FPCM_JS_FILES', $jsFiles);
$this->assign('FPCM_JS_VARS', $this->getJsVars());
/**
* Pfade
*/
$this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
$this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
$this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
$this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
/**
* Sprache
*/
$this->assign('FPCM_LANG', $this->language);
/**
* Meldungen
*/
$this->assign('FPCM_MESSAGES', $this->getMessages());
/**
* Login-Status
*/
$this->assign('FPCM_LOGGEDIN', $this->session->exists());
/**
* System config data
*/
$this->assign('FPCM_VERSION', $this->config->system_version);
$this->assign('FPCM_FRONTEND_LINK', $this->config->system_url);
$this->assign('FPCM_DATETIME_MASK', $this->config->system_dtmask);
$this->assign('FPCM_DATETIME_ZONE', $this->config->system_timezone);
$this->assign('FPCM_MAINTENANCE_MODE', $this->config->system_maintenance);
/**
* Current module
*/
$this->assign('FPCM_CURRENT_MODULE', \fpcm\classes\http::get('module'));
helper::init($this->config->system_lang);
}
示例4: initAssigns
/**
* View-Variablen initialisieren
*/
protected function initAssigns()
{
/**
* Meldungen
*/
$this->addJsVars(array('fpcmMsg' => $this->getMessages()));
/**
* CSS und JS Files
*/
$this->assign('FPCM_CSS_FILES', $this->getViewCssFiles());
$this->assign('FPCM_JS_FILES', $this->getViewJsFiles());
$this->assign('FPCM_JS_VARS', $this->getJsVars());
/**
* Pfade
*/
$this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
$this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
$this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
$this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
/**
* Sprache
*/
$this->assign('FPCM_LANG', $this->language);
/**
* System config data
*/
$this->assign('FPCM_VERSION', $this->version);
$this->assign('FPCM_LOGGEDIN', false);
$this->assign('FPCM_CURRENT_MODULE', 'installer');
helper::init($this->language->getLangCode());
}
示例5: initAssigns
/**
* View-Variablen initialisieren
*/
public function initAssigns()
{
/**
* Pfade
*/
$this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
$this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
$this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
$this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
/**
* Sprache
*/
$this->assign('FPCM_LANG', $this->language);
/**
* Login-Status
*/
$this->assign('FPCM_LOGGEDIN', $this->session->exists());
/**
* System config data
*/
$this->assign('FPCM_VERSION', $this->config->system_version);
$this->assign('FPCM_FRONTEND_LINK', $this->config->system_url);
$this->assign('FPCM_DATETIME_MASK', $this->config->system_dtmask);
$this->assign('FPCM_DATETIME_ZONE', $this->config->system_timezone);
$this->assign('FPCM_MAINTENANCE_MODE', $this->config->system_maintenance);
$this->assign('FPCM_CRONJOBS_DISABLED', \fpcm\classes\baseconfig::asyncCronjobsEnabled());
/**
* Current module
*/
$this->assign('FPCM_CURRENT_MODULE', \fpcm\classes\http::get('module'));
if ($this->session->exists()) {
$this->assign('FPCM_USER', $this->session->currentUser->getDisplayName());
$this->assign('FPCM_SESSION_LOGIN', $this->session->getLogin());
}
helper::init($this->config->system_lang);
}
示例6: initAssigns
/**
* View-Variablen initialisieren
*/
protected function initAssigns()
{
/**
* Current module
*/
$this->assign('FPCM_CURRENT_MODULE', \fpcm\classes\http::get('module'));
if ($this->session->exists()) {
$this->assign('FPCM_USER', $this->session->currentUser->getDisplayName());
$this->assign('FPCM_SESSION_LOGIN', $this->session->getLogin());
$nav = new \fpcm\model\theme\navigation();
$this->assign('FPCM_NAVIGATION', $nav->render());
$this->assign('FPCM_NAVIGATION_ACTIVE', $this->getNavigationActiveCheckStr());
$this->jsvars = array('fpcmSessionCheckEnabled' => true) + $this->jsvars;
$this->addJsLangVars(array('sessionCheckMsg' => $this->language->translate('SESSION_TIMEOUT')));
}
/**
* Meldungen
*/
$this->addJsVars(array('fpcmMsg' => $this->getMessages()));
/**
* CSS und JS Files
*/
$this->assign('FPCM_CSS_FILES', $this->getViewCssFiles());
$this->assign('FPCM_JS_FILES', $this->getViewJsFiles());
$this->assign('FPCM_JS_VARS', $this->getJsVars());
/**
* Pfade
*/
$this->assign('FPCM_BASELINK', \fpcm\classes\baseconfig::$rootPath);
$this->assign('FPCM_THEMEPATH', \fpcm\classes\baseconfig::$themePath);
$this->assign('FPCM_BASEMODULELINK', \fpcm\classes\baseconfig::$rootPath . 'index.php?module=');
$this->assign('FPCM_SELF', $_SERVER['PHP_SELF']);
/**
* Sprache
*/
$this->assign('FPCM_LANG', $this->language);
/**
* Login-Status
*/
$this->assign('FPCM_LOGGEDIN', $this->session->exists());
/**
* Aufruf durch mobile Endgerät
*/
$this->assign('FPCM_ISMOBILE', $this->isMobile);
/**
* System config data
*/
$this->assign('FPCM_VERSION', $this->config->system_version);
$this->assign('FPCM_FRONTEND_LINK', $this->config->system_url);
$this->assign('FPCM_DATETIME_MASK', $this->config->system_dtmask);
$this->assign('FPCM_DATETIME_ZONE', $this->config->system_timezone);
$this->assign('FPCM_MAINTENANCE_MODE', $this->config->system_maintenance);
$this->assign('FPCM_CRONJOBS_DISABLED', \fpcm\classes\baseconfig::asyncCronjobsEnabled());
helper::init($this->config->system_lang);
}
示例7: __toString
/**
* __toString retourne l'aide du module
*
* @return string
*/
public function __toString()
{
return helper::init();
}