本文整理汇总了PHP中viewHelper::select方法的典型用法代码示例。如果您正苦于以下问题:PHP viewHelper::select方法的具体用法?PHP viewHelper::select怎么用?PHP viewHelper::select使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类viewHelper
的用法示例。
在下文中一共展示了viewHelper::select方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: utf8_decode
"> *</td>
</tr>
<?php
}
?>
<tr>
<td class="afltr-public-label">
<?php
language::printLanguageConstant('AFFILIATE_PUB_AFFILIATECATEGORY', null, $isNotUtf8);
?>
:
</td>
<td class="afltr-public-content">
<?php
viewHelper::select('affiliate[affiliateCategory]', $categories, $affiliate->getAffiliateCategory(), false, true, $isNotUtf8);
?>
*
</td>
</tr>
<tr>
<td class="afltr-public-label" colspan="2">
<?php
print utf8_decode($antiSpamQuestion);
?>
</td>
</tr>
<tr>
<td class="afltr-public-label"></td>
<td class="afltr-public-content">
<input type="text" class="afltr-public-input-text" name="antiSpamAnswer" size="25" maxlength="255" value="<?php
示例2: strtoupper
class="afltr-hide"<?php
}
?>
>
<td class="afltr-td-label afltr-align-right">
<?php
language::printLanguageConstant('OPTIONS_' . strtoupper($key));
?>
:
</td>
<td class="afltr-padding-left afltr-align-left">
<?php
if ($key == 'timeZone') {
?>
<?php
viewHelper::select('options[timeZone]', $timeZones, $value, false, false);
?>
<?php
} elseif ($key == 'dateTimeMask') {
?>
<input type="text" class="input-text afltr-options-input-<?php
print strtolower($key);
?>
ui-state-default ui-corner-all" name="options[<?php
print $key;
?>
]" size="50" maxlength="255" value="<?php
print $value;
?>
" title="<?php
示例3: strtoupper
<h2><?php
language::printLanguageConstant('HL_INSTALL_DBCONNECT');
?>
</h2>
<div class="afltr-acp-form afltr-align-center">
<table class="afltr-acp-table">
<tr>
<td class="afltr-td-label afltr-align-right">
<?php
language::printLanguageConstant('INSTALL_DBTYPE');
?>
:
</td>
<td class="afltr-padding-left">
<?php
viewHelper::select('dbconfig[DBTYPE]', $dbtypes, null, false, false);
?>
</td>
</tr>
<?php
foreach ($fields as $key => $value) {
?>
<tr>
<td class="afltr-td-label afltr-align-right">
<?php
language::printLanguageConstant('INSTALL_' . strtoupper($key));
?>
:
</td>
<td class="afltr-padding-left">
<?php
示例4:
<form method="post" action="index.php?step=1">
<div class="afltr-acp-top-buttons">
<?php
viewHelper::submitButton('continue', language::returnLanguageConstant('NEXT_BTN'));
?>
</div>
<h2>Choose your language</h2>
<div class="afltr-acp-form afltr-align-center"><?php
viewHelper::select('lang', $languages);
?>
</div>
</form>
示例5:
?>
</td>
</tr>
<?php
if ($editormode == 1) {
?>
<tr>
<td class="afltr-td-label afltr-align-right">
<?php
language::printLanguageConstant('AFFILIATE_AFFILIATEISMARKED');
?>
:
</td>
<td class="afltr-padding-left">
<?php
viewHelper::select('affiliate[affiliateIsMarked]', $markedstatus, $affiliate->affiliateIsMarked(), false, false);
?>
</td>
</tr>
<?php
}
?>
<tr>
<td class="afltr-td-label afltr-align-right">
<?php
language::printLanguageConstant('AFFILIATE_AFFILIATEISACCEPTED');
?>
:
</td>
<td class="afltr-padding-left">