本文整理汇总了PHP中ConfigHelper::getConfigValue方法的典型用法代码示例。如果您正苦于以下问题:PHP ConfigHelper::getConfigValue方法的具体用法?PHP ConfigHelper::getConfigValue怎么用?PHP ConfigHelper::getConfigValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ConfigHelper
的用法示例。
在下文中一共展示了ConfigHelper::getConfigValue方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: number_format
;width:<?php
echo number_format($goal['goal_info'] / $goal['amount'] * 100);
?>
%;"></div>
</div>
<div class="clearfix">
<span class="goal_info_out_of">
<?php
if ($goal['goal_type'] == 'win_cash') {
echo ConfigHelper::getCurrency() . (int) $goal['goal_info'];
?>
<?php
echo TextHelper::_("COBALT_OUT_OF");
?>
<?php
echo ConfigHelper::getConfigValue('currency');
echo $goal['amount'] . " " . TextHelper::_('COBALT_WON');
}
if ($goal['goal_type'] == 'win_deals') {
echo (int) $goal['goal_info'];
?>
<?php
echo TextHelper::_("COBALT_OUT_OF");
?>
<?php
echo $goal['amount'] . " " . TextHelper::_('COBALT_DEALS_WON');
}
if ($goal['goal_type'] == 'move_deals') {
echo (int) $goal['goal_info'];
?>
<?php
示例2:
</span>
</div>
<div class="row-fluid">
<strong><?php
echo TextHelper::_('COBALT_EMAIL_SHORT');
?>
</strong>
<?php
if (array_key_exists('email', $person)) {
?>
<span class="pull-right"><a target='_blank' href="mailto:<?php
echo $person['email'];
?>
?bcc=<?php
echo ConfigHelper::getConfigValue('imap_user');
?>
"><?php
echo $person['email'];
?>
</a></span>
<?php
}
?>
</div>
<?php
if (array_key_exists('work_address_1', $person) && $person['work_address_1'] != "") {
?>
示例3: strtolower
<td>
<a href="<?php
echo RouteHelper::_('index.php?view=deals&layout=deal&id=' . $deal->id);
?>
">
<?php
echo $deal->name;
?>
</a>
</td>
<td><div class="deal-status-'<?php
echo strtolower($deal->status_name);
?>
"></div></td>
<td><span class="amount"><?php
echo ConfigHelper::getConfigValue('currency') . $deal->amount;
?>
</span></td>
</tr>
<?php
$i++;
?>
<?php
}
?>
</table>
</div>
</li>
</ul>
</div>
<div class="col-md-8">
示例4: defined
-------------------------------------------------------------------------*/
// no direct access
defined('_CEXEC') or die('Restricted access');
?>
<table class="table table-striped table-hover">
<thead>
<th class="checkbox_column"><input type="checkbox" onclick="selectAll(this);" /></th>
<th><div class="sort_order"><a class="s.name" onclick="sortTable('s.name',this)"><?php
echo TextHelper::_('COBALT_REPORTS_SOURCE');
?>
</a></div></th>
<th><div class="sort_order"><a class="count(d.id)" onclick="sortTable('count(d.id)',this)"><?php
echo TextHelper::_('COBALT_NUMBER_OF_DEALS');
?>
</a></div></th>
<th><div class="sort_order"><a class="sum(d.amount)" onclick="sortTable('sum(d.amount)',this)"><?php
echo JText::sprintf('COBALT_REVENUE', ConfigHelper::getConfigValue('currency'));
?>
</a></div></th>
<th><div class="sort_order"><a class="s.cost" onclick="sortTable('s.cost',this)"><?php
echo JText::sprintf('COBALT_TOTAL_COSTS', ConfigHelper::getConfigValue('currency'));
?>
</a></div></th>
<th><div class="sort_order"><a class="roi" onclick="sortTable('roi',this)"><?php
echo TextHelper::_('COBALT_RETURN_ON_INVESTMENTS');
?>
</a></div></th>
</thead>
<tbody class="results" id="reports">
示例5: Copyright
<?php
/*------------------------------------------------------------------------
# Cobalt
# ------------------------------------------------------------------------
# @author Cobalt
# @copyright Copyright (C) 2012 cobaltcrm.org All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Website: http://www.cobaltcrm.org
-------------------------------------------------------------------------*/
// no direct access
defined('_CEXEC') or die('Restricted access');
$deal = $this->deal;
$k = $this->offset;
echo '<tr class="cobalt_row_' . $k . '">';
echo '<td><a href="' . RouteHelper::_('index.php?view=deals&layout=deal&id=' . $deal->id) . '">' . $deal->name . '</a></td>';
echo '<td>' . $deal->owner_first_name . ' ' . $deal->owner_last_name . '</td>';
echo '<td><div class="deal-status-' . strtolower($deal->status_name) . '"></div></td>';
echo '<td><span class="amount">' . ConfigHelper::getConfigValue('currency') . $deal->amount . '</span></td>';
echo '</tr>';
示例6: ucwords
<li>
<div class="goal_container media">
<div class="goal_img pull-left"><img src="<?php
echo JURI::base();
?>
src/Cobalt/media/images/win_more_cash.png" /></div>
<div class="goal_info_container media-body">
<h4><a data-target="#editModal" data-toggle="modal" href="<?php
echo RouteHelper::_('index.php?view=goals&layout=edit&type=win_cash&format=raw&tmpl=component');
?>
"><?php
echo ucwords(TextHelper::_('COBALT_WIN_MORE_CASH'));
?>
</a></h4>
<div class="goal_info"><?php
echo JText::sprintf('COBALT_CREATE_GOAL_TRACK_CASH', ConfigHelper::getConfigValue('currency'));
?>
</div>
</div>
</div>
<hr />
</li>
<li>
<div class="goal_container media">
<div class="goal_img pull-left"><img src="<?php
echo JURI::base();
?>
src/Cobalt/media/images/win_more_deals.png" /></div>
<div class="goal_info_container media-body">
<h4><a data-target="#editModal" data-toggle="modal" href="<?php
echo RouteHelper::_('index.php?view=goals&layout=edit&type=win_deals&format=raw&tmpl=component');