本文整理汇总了PHP中Params::getLookup方法的典型用法代码示例。如果您正苦于以下问题:PHP Params::getLookup方法的具体用法?PHP Params::getLookup怎么用?PHP Params::getLookup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Params
的用法示例。
在下文中一共展示了Params::getLookup方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
echo $form->labelEx($model, 'notelp_karyawan');
?>
<div class="mws-form-item ">
<?php
echo $form->textField($model, 'notelp_karyawan', array('size' => 15, 'maxlength' => 50));
?>
</div>
</div>
<div class="mws-form-row">
<?php
echo $form->labelEx($model, 'warganegara_karyawan');
?>
<div class="mws-form-item ">
<?php
echo $form->dropDownList($model, 'warganegara_karyawan', CHtml::listData(Params::getLookup(Params::WARGANEGARA), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:120px;'));
?>
</div>
</div>
<div class="mws-form-row">
<?php
$form->labelEx($model, 'kategorikaryawan');
?>
<div class="mws-form-item ">
<?php
$form->textField($model, 'kategorikaryawan', array('size' => 15, 'maxlength' => 10));
?>
</div>
</div>
示例2: array
<?php
echo $form->labelEx($modelp, 'nilai_ipk');
?>
<div class="mws-form-item ">
<?php
echo $form->textField($modelp, 'nilai_ipk', array('maxlength' => 50, 'style' => 'width:130px;', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
</div>
</div>
<div class="mws-form-row">
<?php
echo $form->labelEx($modelp, 'gradelulus');
?>
<div class="mws-form-item ">
<?php
echo $form->dropDownList($modelp, 'gradelulus', CHtml::listData(Params::getLookup(Params::GRADE), 'lookup_nama', 'lookup_nama'), array('empty' => '', 'style' => 'width:160px;', 'empty' => '--Pilih--', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
</div>
</div>
<div class="mws-form-row">
<?php
echo $form->labelEx($modelp, 'keterangan');
?>
<div class="mws-form-item ">
<?php
echo $form->textArea($modelp, 'keterangan', array('rows' => 6, 'cols' => 50, 'style' => 'width:180px;', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
</div>
</div>
</td>
</tr>
示例3: array
echo $form->labelEx($model, 'npwp');
?>
<div class="mws-form-item ">
<?php
echo $form->textField($model, 'npwp', array('onKeyUp' => 'checkInput(this);', 'maxlength' => 50, 'style' => 'width:180px', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
</div>
</div>
<div class="mws-form-row">
<?php
echo $form->labelEx($model, 'golongandarah');
?>
<div class="mws-form-item ">
<?php
echo $form->dropDownList($model, 'gelardepan', CHtml::listData(Params::getLookup(Params::GOLONGANDARAH), 'lookup_nama', 'lookup_nama'), array('empty' => '--Pilih--', 'style' => 'width:100px', 'onkeypress' => "return \$(this).focusNextInputField(event)"));
?>
</div>
</div>
<div class="mws-form-row">
<?php
echo $form->labelEx($model, 'rhesus');
?>
<div class="mws-form-item ">
<?php
//echo $form->dropDownList($model,'gelardepan', CHtml::listData(Params::getLookup(Params::RHESUS), 'lookup_nama', 'lookup_nama'),array('empty'=>''));
?>
<table>
<tr>
<?php