本文整理汇总了PHP中CostbenefitprojectionHelper::getHelpUrl方法的典型用法代码示例。如果您正苦于以下问题:PHP CostbenefitprojectionHelper::getHelpUrl方法的具体用法?PHP CostbenefitprojectionHelper::getHelpUrl怎么用?PHP CostbenefitprojectionHelper::getHelpUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CostbenefitprojectionHelper
的用法示例。
在下文中一共展示了CostbenefitprojectionHelper::getHelpUrl方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: addToolBar
/**
* Setting the toolbar
*/
protected function addToolBar()
{
JToolBarHelper::title(JText::_('COM_COSTBENEFITPROJECTION_IMPORT_TITLE'), 'upload');
JHtmlSidebar::setAction('index.php?option=com_costbenefitprojection&view=import');
if ($this->canDo->get('core.admin') || $this->canDo->get('core.options')) {
JToolBarHelper::preferences('com_costbenefitprojection');
}
// set help url for this view if found
$help_url = CostbenefitprojectionHelper::getHelpUrl('import');
if (CostbenefitprojectionHelper::checkString($help_url)) {
JToolbarHelper::help('COM_COSTBENEFITPROJECTION_HELP_MANAGER', false, $help_url);
}
}
示例2: addToolBar
/**
* Setting the toolbar
*/
protected function addToolBar()
{
// adding the joomla toolbar to the front
JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR . '/includes/toolbar.php');
// set help url for this view if found
$help_url = CostbenefitprojectionHelper::getHelpUrl('createaccount');
if (CostbenefitprojectionHelper::checkString($help_url)) {
JToolbarHelper::help('COM_COSTBENEFITPROJECTION_HELP_MANAGER', false, $help_url);
}
// now initiate the toolbar
$this->toolbar = JToolbar::getInstance();
}