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


PHP ActiveForm::fieldSetEnd方法代码示例

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


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

示例1: renderConfigForm

 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet(\Yii::t('skeeks/seo', 'Keywords'));
     echo $form->field($this, 'kladrApiToken');
     echo $form->field($this, 'kladrRequestLimit');
     echo $form->field($this, 'russiaId')->listBox(\yii\helpers\ArrayHelper::map(\skeeks\cms\kladr\models\KladrLocation::find()->where(['type' => \skeeks\cms\kladr\models\KladrLocation::TYPE_COUNTRY])->all(), 'id', 'name'), ['size' => 1]);
     echo $form->fieldSetEnd();
 }
开发者ID:skeeks-cms,项目名称:cms-kladr,代码行数:8,代码来源:KladrComponent.php

示例2: renderConfigForm

 public function renderConfigForm(ActiveForm $form)
 {
     echo $form->fieldSet('Общие настройки');
     echo $form->field($this, 'affiliate_key');
     echo $form->field($this, 'v3toysIdPropertyName');
     echo $form->field($this, 'content_ids')->widget(Chosen::className(), ['multiple' => true, 'items' => CmsContent::getDataForSelect()]);
     echo $form->field($this, 'notify_emails')->textarea(['rows' => 3]);
     /*echo $form->field($this, 'v3toysShopPersonTypeId')->widget(Chosen::className(),[
           'items' => ArrayHelper::map(ShopPersonType::find()->all(), 'id', 'name'),
       ]);*/
     /*echo $form->field($this, 'v3toysOrderStatusSubmitted')->widget(Chosen::className(),[
           'items' => ArrayHelper::map(ShopOrderStatus::find()->all(), 'code', 'name'),
       ]);*/
     echo $form->fieldSetEnd();
     echo $form->fieldSet('Настройки доставки');
     echo $form->field($this, 'pickup_discaunt_value');
     echo $form->field($this, 'post_discaunt_value');
     echo $form->field($this, 'courier_discaunt_value');
     echo $form->fieldSetEnd();
     echo $form->fieldSet('Скидка/Наценка на товары');
     echo $form->field($this, 'price_discount_percent');
     echo $form->fieldSetEnd();
 }
开发者ID:v3toys,项目名称:skeeks,代码行数:23,代码来源:V3toysSettings.php

示例3: 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

示例4: 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

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