本文整理匯總了PHP中CostbenefitprojectionHelper::getContributors方法的典型用法代碼示例。如果您正苦於以下問題:PHP CostbenefitprojectionHelper::getContributors方法的具體用法?PHP CostbenefitprojectionHelper::getContributors怎麽用?PHP CostbenefitprojectionHelper::getContributors使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CostbenefitprojectionHelper
的用法示例。
在下文中一共展示了CostbenefitprojectionHelper::getContributors方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: display
/**
* View display method
* @return void
*/
function display($tpl = null)
{
// Check for errors.
if (count($errors = $this->get('Errors'))) {
JError::raiseError(500, implode('<br />', $errors));
return false;
}
// Assign data to the view
$this->icons = $this->get('Icons');
$this->contributors = CostbenefitprojectionHelper::getContributors();
$this->usagedata = $this->get('UsageData');
// Set the toolbar
$this->addToolBar();
// Display the template
parent::display($tpl);
// Set the document
$this->setDocument();
}
示例2: Zusammenarbeit
@build 16th August, 2016
@created 15th June, 2012
@package Cost Benefit Projection
@subpackage appnotice.php
@author Llewellyn van der Merwe <http://www.vdm.io>
@owner Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb
@copyright Copyright (C) 2015. All Rights Reserved
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
/-------------------------------------------------------------------------------------------------------/
Cost Benefit Projection Tool.
/------------------------------------------------------------------------------------------------------*/
// No direct access to this file
defined('JPATH_BASE') or die('Restricted access');
$manifest = CostbenefitprojectionHelper::manifest();
$contributors = CostbenefitprojectionHelper::getContributors();
?>
<div class="uk-panel">
<img alt="<?php
echo JText::_('COM_COSTBENEFITPROJECTION_VAST_DEVELOPMENT_METHOD');
?>
" src="<?php
echo JRoute::_('media/com_costbenefitprojection/images/cbp_box.png');
?>
">
<p class="uk-text-bold uk-text-contrast">
<i class="uk-icon-cog uk-icon-spin"></i>
<?php
echo JText::_('COM_COSTBENEFITPROJECTION_GIZ_COST_BENEFIT_PROJECTION_TOOL');
?>
</p>