clear() public méthode

public clear ( )
Exemple #1
0
 /**
  * @throws CHttpException
  */
 public function actionClear()
 {
     if (!Yii::app()->getRequest()->getIsPostRequest()) {
         throw new CHttpException(404);
     }
     $this->couponManager->clear();
     Yii::app()->ajax->success(Yii::t("CouponModule.coupon", "Coupons are deleted"));
 }
Exemple #2
0
 /**
  * @throws CHttpException
  */
 public function actionClear()
 {
     $this->couponManager->clear();
     Yii::app()->ajax->success(Yii::t("CouponModule.coupon", "Coupons are deleted"));
 }