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


PHP Quota::getAllQuota方法代码示例

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


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

示例1: array

?>
    </div>
    <div class="span2">
      <?php 
echo $form->labelEx($model, 'BudgetPlaces');
?>
      <?php 
echo $form->textField($model, 'BudgetPlaces', array('class' => 'span12'));
?>
      <?php 
echo $form->error($model, 'BudgetPlaces');
?>
    </div>
    <div class="span1">
      <input type="hidden" name="SpecialityQuotesCreate" value="1" />
      <?php 
echo CHtml::label('OK', 'SpecialityQuotesCreateButton');
$this->widget("bootstrap.widgets.TbButton", array('buttonType' => 'submit', 'type' => 'primary', 'icon' => 'star', 'id' => 'SpecialityQuotesCreateButton'));
?>
    </div>
  </div>
<?php 
$this->endWidget();
?>

</div><!-- form -->
</div>

<?php 
$this->widget('bootstrap.widgets.TbGridView', array('id' => 'specialityquotes-grid', 'type' => 'striped bordered condensed', 'dataProvider' => $model->search(), 'filter' => $model, 'columns' => array(array("name" => 'idSpecialityQuotes', 'htmlOptions' => array('class' => 'span1'), 'headerHtmlOptions' => array('class' => 'span1')), array('class' => 'bootstrap.widgets.TbEditableColumn', 'name' => 'SpecialityID', 'editable' => array('url' => $this->createUrl('specialityquotes/xedit'), 'type' => 'select', 'source' => Specialities::getAllSpecs(), 'placement' => 'right', 'inputclass' => 'span3'), 'htmlOptions' => array('class' => 'span5'), 'headerHtmlOptions' => array('class' => 'span5')), array('class' => 'bootstrap.widgets.TbEditableColumn', 'name' => 'QuotaID', 'editable' => array('url' => $this->createUrl('specialityquotes/xedit'), 'type' => 'select', 'source' => Quota::getAllQuota(), 'placement' => 'right', 'inputclass' => 'span3'), 'htmlOptions' => array('class' => 'span4'), 'headerHtmlOptions' => array('class' => 'span4')), array('class' => 'bootstrap.widgets.TbEditableColumn', 'name' => 'BudgetPlaces', 'editable' => array('url' => $this->createUrl('specialityquotes/xedit'), 'type' => 'text', 'placement' => 'right', 'inputclass' => 'span3'), 'htmlOptions' => array('class' => 'span2'), 'headerHtmlOptions' => array('class' => 'span2')), array('class' => 'bootstrap.widgets.TbButtonColumn'))));
开发者ID:upmunspel,项目名称:abiturient,代码行数:30,代码来源:admin.php

示例2: array

?>
      <?php 
echo $form->dropDownList($model, 'SpecialityID', Specialities::getAllSpecs(), array('class' => 'span12'));
?>
      <?php 
echo $form->error($model, 'SpecialityID');
?>
    </div>
  </div>
	<div class="row-fluid">
    <div class="span12">
      <?php 
echo $form->labelEx($model, 'QuotaID');
?>
      <?php 
echo $form->dropDownList($model, 'QuotaID', Quota::getAllQuota(), array('class' => 'span12'));
?>
      <?php 
echo $form->error($model, 'QuotaID');
?>
    </div>
  </div>
	<div class="row-fluid">
    <div class="span12">
      <?php 
echo $form->labelEx($model, 'BudgetPlaces');
?>
      <?php 
echo $form->textField($model, 'BudgetPlaces');
?>
      <?php 
开发者ID:upmunspel,项目名称:abiturient,代码行数:31,代码来源:_form.php


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