本文整理汇总了PHP中Help::run方法的典型用法代码示例。如果您正苦于以下问题:PHP Help::run方法的具体用法?PHP Help::run怎么用?PHP Help::run使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Help
的用法示例。
在下文中一共展示了Help::run方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: trim
}
}
$this->Template->rows = $rows;
}
// Add an explanation
if (isset($arrData['explanation'])) {
$this->loadLanguageFile('explain');
$key = $arrData['explanation'];
if (!is_array($GLOBALS['TL_LANG']['XPL'][$key])) {
$this->Template->explanation = trim($GLOBALS['TL_LANG']['XPL'][$key]);
} else {
$this->Template->rows = $GLOBALS['TL_LANG']['XPL'][$key];
}
}
$this->Template->theme = $this->getTheme();
$this->Template->base = Environment::get('base');
$this->Template->language = $GLOBALS['TL_LANGUAGE'];
$this->Template->title = specialchars($GLOBALS['TL_LANG']['MSC']['helpWizardTitle']);
$this->Template->charset = $GLOBALS['TL_CONFIG']['characterSet'];
$this->Template->headline = $arrData['label'][0] ?: $field;
$this->Template->helpWizard = $GLOBALS['TL_LANG']['MSC']['helpWizard'];
$GLOBALS['TL_CONFIG']['debugMode'] = false;
$this->Template->output();
}
}
/**
* Instantiate the controller
*/
$objHelp = new Help();
$objHelp->run();