本文整理汇总了PHP中app\func\Proc::SetTemplateForActiveFieldWithNOT方法的典型用法代码示例。如果您正苦于以下问题:PHP Proc::SetTemplateForActiveFieldWithNOT方法的具体用法?PHP Proc::SetTemplateForActiveFieldWithNOT怎么用?PHP Proc::SetTemplateForActiveFieldWithNOT使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类app\func\Proc
的用法示例。
在下文中一共展示了Proc::SetTemplateForActiveFieldWithNOT方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</div>
</div>
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
panelblock">
<div class="panel-heading"><?php
echo Html::encode('Перемещение материальных ценностей');
?>
</div>
<div class="panel-body">
<?php
echo $form->field($model, 'mol_id_build')->widget(Select2::classname(), array_merge(Proc::DGselect2(['model' => $model, 'resultmodel' => new \app\models\Fregat\Build(), 'placeholder' => 'Введите здание', 'setsession' => false, 'multiple' => ['multipleshowall' => false, 'idvalue' => 'build_id'], 'fields' => ['keyfield' => 'mol_id_build', 'resultfield' => 'build_name'], 'resultrequest' => 'Fregat/build/selectinput', 'thisroute' => $this->context->module->requestedRoute]), ['addon' => ['prepend' => ['content' => Proc::SetTemplateForActiveFieldWithNOT($form, $model, 'mol_id_build')], 'groupOptions' => ['class' => 'notforselect2']]]));
?>
<?php
echo $form->field($model, 'tr_osnov_kab')->textInput(['maxlength' => true, 'class' => 'form-control inputuppercase']);
?>
</div>
</div>
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
panelblock">
<div class="panel-heading"><?php
echo Html::encode('Аудит операций пользователя');
示例2:
</div>
</div>
<div class="panel panel-<?php
echo Yii::$app->params['panelStyle'];
?>
panelblock">
<div class="panel-heading"><?php
echo Html::encode('Медикаментозная терапия');
?>
</div>
<div class="panel-body">
<?php
echo $form->field($model, 'glprep_id_preparat')->widget(Select2::classname(), array_merge(Proc::DGselect2(['model' => $model, 'resultmodel' => new app\models\Base\Preparat(), 'placeholder' => 'Введите название препарата', 'setsession' => false, 'multiple' => ['multipleshowall' => false, 'idvalue' => 'preparat_id'], 'fields' => ['keyfield' => 'glprep_id_preparat', 'resultfield' => 'preparat_name'], 'resultrequest' => 'Base/preparat/selectinput', 'thisroute' => $this->context->module->requestedRoute]), ['addon' => ['prepend' => ['content' => Proc::SetTemplateForActiveFieldWithNOT($form, $model, 'glprep_id_preparat')], 'groupOptions' => ['class' => 'notforselect2']]]));
?>
<?php
echo Proc::FilterFieldSelectMultiple($form, $model, 'glprep_rlocat', 'ыберете категорию льготного лекарственного обеспечения');
?>
<?php
echo $form->field($model, 'glprep_not_preparat_mark')->checkbox()->label(null, ['class' => 'control-label']);
?>
<?php
echo $form->field($model, 'glprep_preparat_mark')->checkbox()->label(null, ['class' => 'control-label']);
?>
</div>