本文整理汇总了PHP中TemplateHandler::createFormattedCombo方法的典型用法代码示例。如果您正苦于以下问题:PHP TemplateHandler::createFormattedCombo方法的具体用法?PHP TemplateHandler::createFormattedCombo怎么用?PHP TemplateHandler::createFormattedCombo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TemplateHandler
的用法示例。
在下文中一共展示了TemplateHandler::createFormattedCombo方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</div>
<?php
}
?>
</div>
<?php
if (F1DeskUtils::IsSupporter()) {
?>
<div id='respondTo'>
<h3><?php
echo REPLY_TO;
?>
</h3>
<?php
echo TemplateHandler::createFormattedCombo($ArDepartments, 'IDReader', 'IDReader', 'inputCombo');
?>
<p><?php
echo CLICK;
?>
<a href='javascript:void(0);' class='Link' onclick='Writing.listSupporters("Readers")'><?php
echo HERE;
?>
</a><?php
echo ADD_SUPPORTER;
?>
<div id='addedReaders' class='NoDisplay'>
<h4><?php
echo ADDED_SUP;
?>
</h4>
示例2:
Nome:
<p><input type='text' id='StName' name='StName' class='inputCombo' /></p>
Email:
<p><input type='text' id='StEmail' name='StEmail' class='inputCombo' /></p>
Senha:
<p><input type='password' id='StPassword' name='StPassword' class='inputCombo' /></p>
<p>
<button class='button'>Cadastrar</button>
<button class='button' onclick='Admin.clearUserForm();'>Limpar</button>
</p>
</div>
<div id='SupporterDepartment' class='Left'>
Departamento:
<p>
<?php
echo TemplateHandler::createFormattedCombo($ArDepartments, 'IDDepartment', 'IDDepartment');
?>
<a href='javascript:void(0);' onclick='Admin.addDepartment()'><img src='templates/default/images/add.png'></a>
<p>
<fieldset id='Departments'>
<legend>Departamentos atribuídos</legend>
<span id='null'>Não há departamentos atribuídos</span>
</fieldset>
</p>
</p>
</div>
</div>
<div id='manageSupporter' class='Left'>
<h3>Gerenciar Usuários</h3>
<?php
foreach ($ArDepartments as $ID => $ArDepartment) {