當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ActiveForm::fieldRadioListBoolean方法代碼示例

本文整理匯總了PHP中yii\widgets\ActiveForm::fieldRadioListBoolean方法的典型用法代碼示例。如果您正苦於以下問題:PHP ActiveForm::fieldRadioListBoolean方法的具體用法?PHP ActiveForm::fieldRadioListBoolean怎麽用?PHP ActiveForm::fieldRadioListBoolean使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在yii\widgets\ActiveForm的用法示例。


在下文中一共展示了ActiveForm::fieldRadioListBoolean方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: renderConfigForm

 /**
  * @return string
  */
 public function renderConfigForm(ActiveForm $activeForm)
 {
     echo $activeForm->fieldRadioListBoolean($this, 'showDefaultPalette');
     echo $activeForm->fieldRadioListBoolean($this, 'useNative');
     echo $activeForm->fieldRadioListBoolean($this, 'showInput')->hint(\Yii::t('skeeks/cms', 'This INPUT to opened the palette'));
     echo $activeForm->fieldRadioListBoolean($this, 'showAlpha');
     echo $activeForm->fieldRadioListBoolean($this, 'showPalette');
     echo $activeForm->field($this, 'saveValueAs')->radioList(\skeeks\cms\widgets\ColorInput::$possibleSaveAs);
 }
開發者ID:skeeks-cms,項目名稱:cms,代碼行數:12,代碼來源:UserPropertyTypeColor.php

示例2: renderConfigForm

 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('skeeks/cms', 'Main'));
     echo $form->field($this, 'enabled')->checkbox();
     echo $form->fieldCheckboxBoolean($this, 'isOpen');
     echo $form->field($this, 'enableFancyboxWindow')->widget(\skeeks\widget\chosen\Chosen::className(), ['items' => \Yii::$app->formatter->booleanFormat]);
     echo $form->fieldRadioListBoolean($this, 'editWidgets');
     echo $form->fieldRadioListBoolean($this, 'editViewFiles');
     echo $form->field($this, 'infoblockEditBorderColor')->widget(\skeeks\cms\widgets\ColorInput::className());
     echo $form->fieldSetEnd();
     echo $form->fieldSet(\Yii::t('skeeks/cms', 'Access'));
     echo \skeeks\cms\widgets\rbac\PermissionForRoles::widget(['permissionName' => \skeeks\cms\rbac\CmsManager::PERMISSION_CONTROLL_PANEL, 'label' => 'Доступ к панеле разрешен']);
     echo $form->fieldSetEnd();
 }
開發者ID:skeeks-cms,項目名稱:cms,代碼行數:14,代碼來源:CmsToolbar.php

示例3: renderConfigForm

 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('app', 'Main'));
     echo $form->fieldSelect($this, 'themeColor', static::themes(), ['allowDeselect' => true]);
     echo $form->fieldRadioListBoolean($this, 'boxedLayout');
     echo $form->field($this, 'boxedBgImage')->widget(\skeeks\cms\modules\admin\widgets\formInputs\OneImage::className());
     echo $form->field($this, 'boxedBgCss')->textInput()->hint('repeat or fixed center center');
     echo $form->fieldSetEnd();
 }
開發者ID:skeeks-cms,項目名稱:app-basic,代碼行數:9,代碼來源:TemplateBoomerang.php

示例4: renderConfigForm

 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('skeeks/shop/app', 'Main'));
     //echo $form->field($this, 'email')->textInput()->hint(\Yii::t('skeeks/shop/app', 'Email of sales department'));
     echo $form->field($this, 'notify_emails')->textarea(['rows' => 3]);
     echo $form->fieldRadioListBoolean($this, 'payAfterConfirmation');
     echo $form->field($this, 'storeCmsContentId')->listBox(array_merge(['' => ' - '], CmsContent::getDataForSelect()), ['size' => 1]);
     echo $form->fieldSetEnd();
 }
開發者ID:skeeks-cms,項目名稱:cms-shop,代碼行數:9,代碼來源:ShopComponent.php


注:本文中的yii\widgets\ActiveForm::fieldRadioListBoolean方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。