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


PHP AutoComplete::className方法代码示例

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


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

示例1: array_keys

<?php

use yii\widgets\ActiveForm;
use yii\helpers\Html;
$this->registerCss(".ui-menu .ui-menu-item:hover,.ui-menu .ui-state-active {background:#4f99c6}");
?>

<?php 
$form = ActiveForm::begin();
?>

<?php 
echo $form->field($model, 'name');
?>

<?php 
echo $form->field($model, 'description');
?>

<?php 
//echo $form->field($model, 'rule_name')
echo $form->field($model, 'rule_name')->widget(\yii\jui\AutoComplete::className(), ['clientOptions' => ['source' => array_keys(\Yii::$app->authManager->getRules())], 'options' => ['class' => 'form-control']]);
echo $form->field($model, 'data')->textarea(['rows' => 6]);
?>

<?php 
echo Html::submitButton('Save', ['class' => 'btn btn-success btn-block']);
?>

<?php 
ActiveForm::end();
开发者ID:sea129,项目名称:kbay,代码行数:31,代码来源:_form.php

示例2:

<div class="menu-form">

    <?php 
$form = ActiveForm::begin();
?>

    <?php 
echo $form->field($model, 'name')->textInput(['maxlength' => 128]);
?>

    <?php 
echo $form->field($model, 'parent_name')->widget(AutoComplete::className(), ['options' => ['class' => 'form-control'], 'clientOptions' => ['source' => Menu::find()->select(['name'])->column()]]);
?>

    <?php 
echo $form->field($model, 'route')->widget(AutoComplete::className(), ['options' => ['class' => 'form-control'], 'clientOptions' => ['source' => Menu::getSavedRoutes()]]);
?>

    <?php 
echo $form->field($model, 'order')->input('number');
?>

    <?php 
echo $form->field($model, 'data')->textarea(['rows' => 4]);
?>

    <div class="form-group">
        <?php 
echo Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
    </div>
开发者ID:hscstudio,项目名称:yii2-heart,代码行数:31,代码来源:_form.php

示例3:

/* @var $this yii\web\View */
/* @var $model app\modules\rbac\models\AuthItemChild */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="auth-item-child-form">

    <?php 
$form = ActiveForm::begin();
?>

    <?php 
echo $form->field($model, 'parent')->widget(AutoComplete::className(), ['clientOptions' => ['source' => Yii::$app->urlManager->createUrl(['lookup/getauthitem'])], 'options' => ['class' => 'form-control']]);
?>

    <?php 
echo $form->field($model, 'child')->widget(AutoComplete::className(), ['clientOptions' => ['source' => Yii::$app->urlManager->createUrl(['lookup/getauthitem'])], 'options' => ['class' => 'form-control']]);
?>

    <div class="form-group">
        <?php 
echo Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
    </div>

    <?php 
ActiveForm::end();
?>

</div>
开发者ID:teddysasmita,项目名称:jkibookstore,代码行数:30,代码来源:_form.php

示例4: foreach

 */
?>

<div class="setting-form">

    <?php 
$form = ActiveForm::begin();
?>


    <?php 
$url = \yii\helpers\Url::to(['/settings/default/autocomplete']);
?>

    <?php 
echo $form->field(is_array($model) ? $model[0] : $model, 'section')->widget(AutoComplete::className(), ['clientOptions' => ['source' => $url], 'options' => ['class' => 'form-control']]);
?>

    <?php 
//echo $form->field((is_array($model))?$model[0]:$model, 'section')->textInput(['maxlength' => 255])
?>

    <div id="settings_values">
        <?php 
if (is_array($model)) {
    ?>
            <?php 
    foreach ($model as $m) {
        ?>
                <div class="row">
                    <div class="col-xs-5">
开发者ID:yesaulov,项目名称:yii2-settings,代码行数:31,代码来源:_form.php

示例5:

/* @var $model backend\models\DtEnquiries */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="dt-enquiries-form">

    <?php 
$form = ActiveForm::begin();
?>

    <?php 
//echo $form->field($model, 'employee_id')->textInput()
?>

    <?php 
echo $form->field($model, 'employee_name')->widget(AutoComplete::className(), ['clientOptions' => ['source' => Employees::arraySnp()], 'options' => ['class' => 'form-control']]);
?>

    <?php 
echo $form->field($model, 'create_date')->widget(DatePicker::className(), ['dateFormat' => 'yyyy-MM-dd', 'options' => ['class' => 'form-control']]);
?>

    <?php 
echo $form->field($model, 'do_date')->widget(DatePicker::className(), ['dateFormat' => 'yyyy-MM-dd', 'options' => ['class' => 'form-control']]);
?>

    <?php 
//echo $form->field($model, 'create_time')->textInput()
?>

    <?php 
开发者ID:Griff19,项目名称:it_base,代码行数:31,代码来源:_form.php

示例6: JsExpression

    <?php 
$form = ActiveForm::begin();
?>

    <?php 
//echo $form->field($model, 'date_create')->textInput()
?>
    <?php 
//echo $form->field($model, 'date_confirm')->textInput()
?>
    <?php 
//echo $form->field($model, 'status')->textInput()
?>

    <?php 
echo $form->field($model, 'employee_name')->widget(AutoComplete::className(), ['clientOptions' => ['source' => Employees::arraySnpId(), 'minLength' => '1', 'autoFill' => true, 'select' => new JsExpression("function( event, ui ) {\n                    \$('#employee_id_hidd').val(ui.item.id);\n                 }")], 'options' => ['class' => 'form-control']]);
?>
    <?php 
echo $form->field($model, 'employee_id')->hiddenInput(['id' => 'employee_id_hidd'])->label(false);
?>

    <div class="form-group">
        <?php 
echo Html::submitButton($model->isNewRecord ? 'Создать' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
    </div>

    <?php 
ActiveForm::end();
?>
开发者ID:Griff19,项目名称:it_base,代码行数:30,代码来源:_form.php

示例7:

use app\models\Tour;
$this->title = 'Расширенный поиск';
$this->params['breadcrumbs'][] = ['label' => 'Туры', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
$listdata = Tour::find()->select(['name as value', 'name as label'])->where(['status' => 1])->asArray()->all();
?>


<div class="add-tour">

    <?php 
$form = ActiveForm::begin(['action' => 'result', 'method' => 'get']);
?>

        <?php 
echo $form->field($model, 'search')->widget(AutoComplete::className(), ['clientOptions' => ['source' => $listdata], 'options' => ['class' => 'form-control']]);
?>
        <?php 
echo $form->field($model, 'category')->dropDownList(['name' => 'Название', 'org' => 'Организация', 'address' => 'Адрес', 'info' => 'Информация', 'tel' => 'Телефон']);
?>
        <?php 
echo $form->field($model, 'sort')->dropDownList(['name' => 'Названию', 'date' => 'Дате', 'address' => 'Адресу']);
?>




        <div class="form-group">
            <?php 
echo Html::submitButton('Поиск', ['class' => 'btn btn-primary']);
?>
开发者ID:zlapot,项目名称:sitev2,代码行数:31,代码来源:extendsearch.php

示例8:

?>

<div class="employees-search">

    <?php 
$form = ActiveForm::begin(['layout' => 'horizontal', 'action' => ['site/admin_workplace?tab=2'], 'method' => 'get']);
?>

    <?php 
echo $form->field($model, 'fio', ['horizontalCssClasses' => ['wrapper' => 'col-xs-9']])->widget(AutoComplete::className(), ['clientOptions' => ['source' => AdminEmployees::arrayFios()], 'options' => ['class' => 'form-control']]);
?>
    <?php 
echo $form->field($model, 'cell_number', ['horizontalCssClasses' => ['wrapper' => 'col-xs-9']])->widget(AutoComplete::className(), ['clientOptions' => ['source' => AdminEmployees::arrayCells()], 'options' => ['class' => 'form-control']]);
?>
    <?php 
echo $form->field($model, 'email', ['horizontalCssClasses' => ['wrapper' => 'col-xs-9']])->widget(AutoComplete::className(), ['clientOptions' => ['source' => AdminEmployees::arrayEmails()], 'options' => ['class' => 'form-control']]);
?>

    <div style="float: right">
        <?php 
echo Html::submitButton('Поиск', ['class' => 'btn btn-primary']);
?>
        <?php 
echo Html::a('Сбрсить', ['site/admin_workplace', 'tab' => 2], ['class' => 'btn btn-default']);
?>
    </div>

    <?php 
ActiveForm::end();
?>
开发者ID:Griff19,项目名称:it_base,代码行数:30,代码来源:_search.php

示例9: confirm

    <h1><?php 
echo Html::encode($this->title);
?>
</h1>

    <p>
        <?php 
echo Html::a('Редактировать', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']);
?>
    </p>

    <?php 
$form = ActiveForm::begin(['id' => 'orders-form', 'enableAjaxValidation' => true, 'action' => ['update', 'id' => $model->id]]);
?>

    <?php 
echo DetailView::widget(['model' => $model, 'attributes' => ['id', ['attribute' => 'created', 'format' => ['date', 'php:d.m.Y H:i']], ['attribute' => 'status', 'value' => $form->field($model, 'status')->dropDownList(Orders::$statuses)->label(false) . Html::submitButton('Сохранить', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']), 'format' => 'raw'], 'name', 'phone', 'address', ['label' => 'E-mail', 'value' => $model->email], ['attribute' => 'track', 'value' => $form->field($model, 'track')->textInput()->label(false) . Html::submitButton('Сохранить', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) . ' ' . Html::a('Отправить трек на почту', ['send-track', 'id' => $model->id], ['class' => 'btn btn-primary', 'onclick' => 'return confirm("Вы действительно хотите отправить трек номер?")']), 'format' => 'raw'], 'description:ntext', ['label' => 'Ссылка на заказ', 'value' => Html::a(Url::toRoute(['/checkout/default/order', 'id' => $model->link_id], 'http'), Url::toRoute(['/checkout/default/order', 'id' => $model->link_id], 'http'), ['target' => '_blank']), 'format' => 'raw'], ['label' => 'Сумма заказа', 'value' => number_format($model->sum, 0, '.', ' ') . ' руб.<br /><br />' . $form->field($model, 'sum_c')->textInput()->hint('Действует только на сумму заказа, без учета доставки') . Html::submitButton('Сохранить', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']), 'format' => 'raw'], ['attribute' => 'delivery_cost', 'value' => $form->field($model, 'delivery_cost')->textInput()->label(false) . $form->field($model, 'delivery')->dropDownList(Orders::getDeliveryENum())->label(false) . Html::submitButton('Сохранить', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']), 'format' => 'raw'], 'weight', ['attribute' => 'sumWithDelivery', 'value' => !is_null($model->getSumWithDelivery()) ? number_format($model->getSumWithDelivery(), 0, '.', ' ') . ' руб.' : null], ['attribute' => 'comment', 'value' => $form->field($model, 'comment')->textarea()->label(false) . Html::submitButton('Сохранить', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']), 'format' => 'raw'], ['label' => 'Добавить товар к заказу', 'value' => $form->field($model, 'newProduct')->label(false)->hint('Начните вводить часть названия товара')->widget(\yii\jui\AutoComplete::className(), ['clientOptions' => ['source' => new \yii\web\JsExpression("function(request, response) {\n                                    \$.getJSON('" . Url::to('find-product') . "', {\n                                        term: request.term\n                                    }, response);\n                                }"), 'select' => new \yii\web\JsExpression("function(event, ui) { \$(this).val(ui.item.label); addProduct(ui.item.value); return false; }")], 'options' => ['class' => 'form-control']]) . '<a href="#" class="btn btn-success" onclick="pushProduct(); event.preventDefault();">Добавить</a>', 'format' => 'raw'], ['label' => 'Перенести товары из заказа', 'value' => Html::textInput('split_from', null, ['id' => 'split_from', 'class' => 'form-control']) . '<br /><a href="#" class="btn btn-success" onclick="split(); event.preventDefault();">Перенести</a>', 'format' => 'raw']]]);
?>
    <?php 
ActiveForm::end();
?>

    <?php 
echo \yii\widgets\ListView::widget(['dataProvider' => $products, 'viewParams' => ['order' => $model], 'itemOptions' => ['class' => 'col-sm-6 col-md-4', 'style' => 'width: auto;'], 'itemView' => '_order-product']);
?>

</div>

<?php 
$this->registerJs("\nvar current_product_id = 0;\nfunction addProduct(id) {\n    current_product_id = id;\n}\nfunction pushProduct() {\n    if (current_product_id === 0) {\n        return ;\n    }\n    window.location.href = '" . Url::to(['add-product']) . "?productId=' + current_product_id + '&orderId=" . $model->id . "';\n}\nfunction split() {\n    var from = \$('#split_from').val();\n    window.location.href = '" . Url::to(['split']) . "?from=' + from + '&to=" . $model->id . "';\n}\n", \yii\web\View::POS_HEAD);
开发者ID:stronglab,项目名称:yii2-checkout,代码行数:30,代码来源:view.php

示例10:

                <div class="uk-width-1-3">
                    <?php 
echo $form->field($searchForm, 'bdate')->dropDownList(Main::getDateList());
?>
                </div>
            </div>
            <?php 
echo $form->field($searchForm, 'district')->dropDownList($districtList, ['prompt' => '']);
?>
            <?php 
echo $form->field($searchForm, 'city')->widget(AutoComplete::className(), ['clientOptions' => ['source' => '/index.php?r=site/ajax-search&t=city'], 'options' => ['class' => 'form-control']]);
?>
            <div class="uk-grid uk-grid-small">
                <div class="uk-width-3-5">
                    <?php 
echo $form->field($searchForm, 'street')->widget(AutoComplete::className(), ['clientOptions' => ['source' => '/index.php?r=site/ajax-search&t=street'], 'options' => ['class' => 'form-control']]);
?>
                </div>
                <div class="uk-width-1-5">
                    <?php 
echo $form->field($searchForm, 'bld');
?>
                </div>
                <div class="uk-width-1-5">
                    <?php 
echo $form->field($searchForm, 'flat');
?>
                </div>
            </div>

            <div class="form-group">
开发者ID:gti360,项目名称:adrstol,代码行数:31,代码来源:find.php

示例11:

?>

				<?php 
echo $form->field($model, 'patente')->textInput(['maxlength' => true, 'style' => 'text-transform: uppercase', 'autofocus' => true]);
?>

				<?php 
echo $form->field($model, 'marca')->widget(AutoComplete::className(), ['model' => $model, 'attribute' => 'marca', 'options' => ['style' => 'text-transform: uppercase', 'class' => 'form-control', 'max-height' => '100px', 'overflow-y' => 'auto', 'overflow-x' => 'hidden', 'z-index' => '5000'], 'clientOptions' => ['source' => Vehiculos::getMarcasVehiculos(), 'minLength' => 1, 'appendTo' => '#form-vehiculonuevo-ajax']]);
?>

				<?php 
echo $form->field($model, 'modelo')->widget(AutoComplete::className(), ['model' => $model, 'attribute' => 'modelo', 'options' => ['style' => 'text-transform: uppercase', 'class' => 'form-control', 'max-height' => '100px', 'overflow-y' => 'auto', 'overflow-x' => 'hidden', 'z-index' => '5000'], 'clientOptions' => ['source' => Vehiculos::getModelosVehiculos(), 'minLength' => 1, 'appendTo' => '#form-vehiculonuevo-ajax']]);
?>

				<?php 
echo $form->field($model, 'color')->widget(AutoComplete::className(), ['model' => $model, 'attribute' => 'color', 'options' => ['style' => 'text-transform: uppercase', 'class' => 'form-control', 'max-height' => '100px', 'overflow-y' => 'auto', 'overflow-x' => 'hidden', 'z-index' => '5000'], 'clientOptions' => ['source' => Vehiculos::getColoresVehiculos(), 'minLength' => 1, 'appendTo' => '#form-vehiculonuevo-ajax']]);
?>
				
				<?php 
echo $form->field($model, 'estado')->hiddenInput()->label(false);
?>


				<div class="form-group">
					<?php 
echo Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
				</div>

				<?php 
ActiveForm::end();
开发者ID:ibergonzi,项目名称:country,代码行数:31,代码来源:_formajax.php

示例12: function

    <div class="module-form">
        <?php 
$form = ActiveForm::begin();
?>
        <?php 
$request = new \yii\web\JsExpression('function (request, response) {
            jQuery.get("' . \yii\helpers\Url::toRoute(['aliases']) . '", {
                query: request.term
            }, function (data) { response(data); });
        }');
?>
        <?php 
echo $form->field($model, 'source')->widget(\yii\jui\AutoComplete::className(), ['model' => $model, 'attribute' => 'source', 'options' => ['class' => 'form-control'], 'clientOptions' => ['source' => $request, 'minLength' => 1]]);
?>
        <?php 
echo $form->field($model, 'destination')->widget(\yii\jui\AutoComplete::className(), ['model' => $model, 'attribute' => 'destination', 'options' => ['class' => 'form-control'], 'clientOptions' => ['source' => $request, 'minLength' => 1]]);
?>
        <?php 
echo $form->field($model, 'inheritContent')->checkbox();
?>
        <?php 
echo $form->field($model, 'replace')->checkbox();
?>
        <div class="form-group">
            <?php 
echo Html::submitButton(Yii::t('modules/module', 'Save'), ['class' => 'btn btn-primary']);
?>
        </div>
        <?php 
ActiveForm::end();
?>
开发者ID:bariew,项目名称:yii2-module-cms-module,代码行数:31,代码来源:create.php

示例13:

    <h1><?php 
echo Html::encode($this->title);
?>
</h1>
    
    <p>
      During development, you can login as any of the registered users:
    </p>

    <div class="row">
        <div class="col-lg-5">
          
          <?php 
$form = ActiveForm::begin(['id' => 'form-dev-login']);
?>
            <?php 
echo $form->field($model, 'userName')->widget(AutoComplete::className(), ['clientOptions' => ['source' => Url::to(['site/userlist'])], 'options' => ['class' => 'form-control']]);
?>
            <div class="form-group">
                <?php 
echo Html::submitButton('Login', ['class' => 'btn btn-primary', 'name' => 'login-button']);
?>
            </div>
          <?php 
ActiveForm::end();
?>
          
        </div>
    </div>
</div>
开发者ID:iw-reload,项目名称:iw,代码行数:30,代码来源:devlogin.php

示例14:

?>

    <?php 
echo $form->field($model, 'patente')->textInput(['maxlength' => true, 'style' => 'text-transform: uppercase']);
?>

    <?php 
echo $form->field($model, 'marca')->widget(AutoComplete::className(), ['model' => $model, 'attribute' => 'marca', 'options' => ['style' => 'text-transform: uppercase', 'class' => 'form-control', 'max-height' => '100px', 'overflow-y' => 'auto', 'overflow-x' => 'hidden'], 'clientOptions' => ['source' => Vehiculos::getMarcasVehiculos()]]);
?>

     <?php 
echo $form->field($model, 'modelo')->widget(AutoComplete::className(), ['model' => $model, 'attribute' => 'modelo', 'options' => ['style' => 'text-transform: uppercase', 'class' => 'form-control', 'max-height' => '100px', 'overflow-y' => 'auto', 'overflow-x' => 'hidden'], 'clientOptions' => ['source' => Vehiculos::getModelosVehiculos()]]);
?>

     <?php 
echo $form->field($model, 'color')->widget(AutoComplete::className(), ['model' => $model, 'attribute' => 'color', 'options' => ['style' => 'text-transform: uppercase', 'class' => 'form-control', 'max-height' => '100px', 'overflow-y' => 'auto', 'overflow-x' => 'hidden'], 'clientOptions' => ['source' => Vehiculos::getColoresVehiculos()]]);
?>
    
    <?php 
echo $form->field($model, 'estado')->hiddenInput()->label(false);
?>

    <div class="form-group">
        <?php 
echo Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
?>
    </div>

    <?php 
ActiveForm::end();
?>
开发者ID:ibergonzi,项目名称:country,代码行数:31,代码来源:_form.php

示例15: JsExpression

            <li>
                <?php 
echo $form->errorSummary($StudioForm, ['header' => '']);
?>
            </li>
            <li>
                <?php 
echo $form->field($StudioForm, 'countryName', ['template' => $requiredFieldTemplate])->widget(AutoComplete::className(), ['model' => $StudioForm, 'attribute' => 'countryName', 'options' => ['class' => 'form-control', 'title' => 'Страна', 'placeholder' => 'Начните вводить название страны'], 'clientOptions' => ['source' => Url::toRoute('get-country-list'), 'select' => new JsExpression("function( event, ui ) {\n                                        \$('#studioform-countryid').val(ui.item.id);\n                                        successCountry = true;\n                                        \$('.form-group.field-studioform-countryname').removeClass('has-error').addClass('has-success');\n                                        checkCities(ui.item.id, 'studioform-cityname', '" . Url::toRoute('get-city-list') . "');\n                                    }"), 'change' => new JsExpression("function( event, ui ) {\n                                        successCountry = false\n                                    }"), 'close' => new JsExpression("function( event, ui ) {\n                                        if (successCountry == false) {\n                                        \$('.form-group.field-studioform-countryname').removeClass('has-success').addClass('has-error');\n                                        }\n                                    }")]]);
?>
                <?php 
echo Html::activeHiddenInput($StudioForm, 'countryId');
?>
            </li>
            <li>
                <?php 
echo $form->field($StudioForm, 'cityName', ['template' => $requiredFieldTemplate])->widget(AutoComplete::className(), ['model' => $StudioForm, 'attribute' => 'cityName', 'options' => ['class' => 'form-control', 'title' => 'Город', 'placeholder' => 'Начните вводить название города', 'disabled' => 'disabled'], 'clientOptions' => ['source' => Url::toRoute('get-city-list'), 'select' => new JsExpression("function( event, ui ) {\n                                        \$('#studioform-cityid').val(ui.item.id);\n                                        successCity = true;\n                                        \$('.form-group.field-studioform-cityname').removeClass('has-error').addClass('has-success');\n                                    }"), 'change' => new JsExpression("function( event, ui ) {\n                                        successCity = false\n                                    }"), 'close' => new JsExpression("function( event, ui ) {\n                                        if (successCity == false) {\n                                        \$('.form-group.field-studioform-cityname').removeClass('has-success').addClass('has-error');\n                                        }\n                                    }")]]);
?>
                <?php 
echo Html::activeHiddenInput($StudioForm, 'cityId');
?>
            </li>
            <li class="heighCol checkboxList">
                <div class="left-col">Способ доставки</div>
                <div class="center-col">
                    <ul>
                        <?php 
$deliveryList = $StudioForm->getDeliveryList();
foreach ($deliveryList as $delivery) {
    $iconClass = strtolower(str_replace(' ', '-', $delivery['name_en']));
    $id = 'studioform-deliveryList_' . $delivery['id'];
    $checked = $StudioForm->deliveryList && in_array($delivery['id'], $StudioForm->deliveryList);
开发者ID:Sywooch,项目名称:TailorPlace,代码行数:31,代码来源:studioRedact.php


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