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


PHP ZurmoHtml::radioButtonList方法代码示例

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


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

示例1: renderThemeContent

 /**
  * Renders the setting as a radio list.
  * @return A string containing the element's content.
  */
 protected function renderThemeContent()
 {
     $gameLevel = GameLevel::resolveByTypeAndPerson(GameLevel::TYPE_GENERAL, Yii::app()->user->userModel);
     $content = ZurmoHtml::tag('h3', array(), Zurmo::t('Core', 'Theme'));
     $content .= ZurmoHtml::radioButtonList($this->getEditableInputName(KanbanBoard::SELECTED_THEME), $this->model->getKanbanBoard()->getSelectedTheme(), $this->resolveThemeColorNamesAndLabelsForLocking($gameLevel), $this->getEditableThemeHtmlOptions(), array(), $this->resolveDataHtmlOptions($gameLevel));
     return $content;
 }
开发者ID:RamaKavanan,项目名称:InitialVersion,代码行数:11,代码来源:KanbanBoardOptionsElement.php

示例2: renderControlEditable

 /**
  * Renders the setting as a radio list.  The second radio option also has a dropdown of available groups
  * as part of the label.
  * @return A string containing the element's content.
  */
 protected function renderControlEditable()
 {
     $this->assertModelIsValid();
     list($attributeName, $relationAttributeName) = $this->resolveAttributeNameAndRelatedAttributes();
     list($data, $dataSelectOption) = $this->resolveData();
     $content = ZurmoHtml::radioButtonList($this->getEditableInputName($attributeName, $relationAttributeName), $this->resolveSelectedType(), $data, $this->getEditableHtmlOptions(), $dataSelectOption);
     return $content;
 }
开发者ID:RamaKavanan,项目名称:InitialVersion,代码行数:13,代码来源:ExplicitReadWriteModelPermissionsElement.php

示例3: renderThemeContent

 /**
  * Renders the setting as a radio list.
  * @return A string containing the element's content.
  */
 protected function renderThemeContent()
 {
     $content = ZurmoHtml::tag('h3', array(), Zurmo::t('Core', 'Theme'));
     $content .= ZurmoHtml::radioButtonList($this->getEditableInputName(KanbanBoard::SELECTED_THEME), $this->model->getKanbanBoard()->getSelectedTheme(), $this->model->getKanbanBoard()->getThemeNamesAndLabels(), $this->getEditableThemeHtmlOptions());
     return $content;
 }
开发者ID:youprofit,项目名称:Zurmo,代码行数:10,代码来源:KanbanBoardOptionsElement.php

示例4: renderStatusButtonsContent

 public static function renderStatusButtonsContent(RedBeanModel $model)
 {
     $content = ZurmoHtml::radioButtonList(static::getRadioButtonListName($model->id), static::resolveSelectedRadioButtonListOption($model), static::getDropDownArray(), static::getRadioButtonListHtmlOptions($model));
     return ZurmoHtml::tag('div', array('class' => 'switch'), $content);
 }
开发者ID:RamaKavanan,项目名称:InitialVersion,代码行数:5,代码来源:StateToggleElement.php


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