本文整理匯總了PHP中app\modules\shop\models\Category::deleteModesList方法的典型用法代碼示例。如果您正苦於以下問題:PHP Category::deleteModesList方法的具體用法?PHP Category::deleteModesList怎麽用?PHP Category::deleteModesList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類app\modules\shop\models\Category
的用法示例。
在下文中一共展示了Category::deleteModesList方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
?>
</div>
<?php
\yii\bootstrap\Modal::end();
?>
<?php
\yii\bootstrap\Modal::begin(['id' => 'delete-category-confirmation', 'footer' => Html::button(Yii::t('app', 'Delete'), ['class' => 'btn btn-primary', 'data-action' => 'confirm', 'data-dismiss' => 'modal']) . Html::button(Yii::t('app', 'Cancel'), ['class' => 'btn btn-default', 'data-dismiss' => 'modal']), 'header' => Yii::t('app', 'Are you sure you want to delete a selected category?')]);
?>
<div class="control-group">
<label class="control-label" for="delete-action"><?php
echo Yii::t('app', 'Product deleting rules');
?>
</label>
<div>
<?php
echo Html::dropDownList('delete_mode', \app\modules\shop\models\Category::DELETE_MODE_SINGLE_CATEGORY, \app\modules\shop\models\Category::deleteModesList(), ['class' => 'form-control', 'id' => 'delete-mode']);
?>
</div>
</div>
<?php
\yii\bootstrap\Modal::end();
?>
<div style="z-index: 99999" class="modal fade" id="newStaticValue" role="dialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
</div>
</div>
</div>
<?php
$this->endBody();
?>