当前位置: 首页>>代码示例>>PHP>>正文


PHP Subjects::DropDown方法代码示例

本文整理汇总了PHP中Subjects::DropDown方法的典型用法代码示例。如果您正苦于以下问题:PHP Subjects::DropDown方法的具体用法?PHP Subjects::DropDown怎么用?PHP Subjects::DropDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Subjects的用法示例。


在下文中一共展示了Subjects::DropDown方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

?>
            <?php 
echo CHtml::activeTextField($model, 'Exam2Ball', array('class' => "span12", "disabled" => $model->EntranceTypeID == 1 ? "disabled" : ""));
?>
            <?php 
//echo $form->error($model,'Exam2Ball');
?>
    </div>
</div>
<div class="row-fluid">
    <div class="span6">
            <?php 
//echo $form->labelEx($model,'Exam3ID');
?>
            <?php 
echo CHtml::activeDropDownList($model, 'Exam3ID', Subjects::DropDown($specialityid, 3), array('empty' => '', 'class' => "span12", "disabled" => $model->EntranceTypeID == 1 ? "disabled" : ""));
?>
            <?php 
//echo $form->error($model,'Exam3ID');
?>
    </div>

    <div class="span6">
            <?php 
//echo $form->labelEx($model,'Exam3Ball');
?>
            <?php 
echo CHtml::activeTextField($model, 'Exam3Ball', array('class' => "span12", "disabled" => $model->EntranceTypeID == 1 ? "disabled" : ""));
?>
            <?php 
//echo $form->error($model,'Exam3Ball');
开发者ID:upmunspel,项目名称:abiturient,代码行数:31,代码来源:_examsubjects.php

示例2: array

<?php

//echo $form->errorSummary($model);
?>

<div class ="span4">
    <?php 
echo $form->hiddenField($model, "[{$i}]idDocumentSubject");
echo $form->hiddenField($model, "[{$i}]deleted", array('class' => 'deleted'));
?>
    <?php 
//echo ($i==0) ?  $form->labelEx($model,"[$i]SubjectID"):"";
?>
    <?php 
echo $form->dropDownList($model, "[{$i}]SubjectID", Subjects::DropDown(), array("class" => "span12"));
?>
</div>    
<!--<div class ="span3">
    <?php 
//echo ($i==0) ? $form->labelEx($model,"[$i]DateGet"):"";
?>
    <?php 
//echo $form->textField($model,"[$i]DateGet",array("class"=>"span12 datepicker","maxlength"=>10));
?>
</div>    -->
<div class ="span3">
    <?php 
//echo ($i==0) ? $form->labelEx($model,"[$i]SubjectValue"):"";
?>
    <?php 
echo $form->textField($model, "[{$i}]SubjectValue", array("class" => "span12", "maxlength" => 15));
开发者ID:upmunspel,项目名称:abiturient,代码行数:31,代码来源:_subject.php

示例3: array

            <?php 
echo $form->labelEx($model, 'Subjects2ID');
?>
            <?php 
echo $form->dropDownList($model, 'Subjects2ID', Subjects::DropDown(), array("class" => "span12"));
?>
            <?php 
//echo $form->error($model, 'Subjects2ID');
?>
        </div>
        <div class="span4">
            <?php 
echo $form->labelEx($model, 'Subjects3ID');
?>
            <?php 
echo $form->dropDownList($model, 'Subjects3ID', Subjects::DropDown(), array("class" => "span12"));
?>
            <?php 
//echo $form->error($model, 'Subjects3ID');
?>
        </div>
    </div>
    <div class="row-fluid">

        <div class='span4'>
            <?php 
echo $form->labelEx($model, 'SubjectsDate1');
?>
            <?php 
echo $form->textField($model, 'SubjectsDate1', array("class" => "span12 datepicker"));
?>
开发者ID:upmunspel,项目名称:abiturient,代码行数:31,代码来源:_form.php


注:本文中的Subjects::DropDown方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。