本文整理汇总了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();
?>