當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ConfigHelper::getConfigValue方法代碼示例

本文整理匯總了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 
開發者ID:houzhenggang,項目名稱:cobalt,代碼行數:31,代碼來源:default.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'] != "") {
    ?>
開發者ID:houzhenggang,項目名稱:cobalt,代碼行數:30,代碼來源:person.php

示例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">
開發者ID:houzhenggang,項目名稱:cobalt,代碼行數:31,代碼來源:default.php

示例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">
開發者ID:houzhenggang,項目名稱:cobalt,代碼行數:30,代碼來源:roi_report_header.php

示例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>';
開發者ID:houzhenggang,項目名稱:cobalt,代碼行數:20,代碼來源:deal_dock_entry.php

示例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');
開發者ID:houzhenggang,項目名稱:cobalt,代碼行數:31,代碼來源:add.php


注:本文中的ConfigHelper::getConfigValue方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。