本文整理匯總了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) {