HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
UrlDeleteController.php
Go to the documentation of this file.
1 <?php
2 
4 {
5  public function actionIndex($siteId, $urlMd5, $urlType=1)
6  {
7  $this->renderPartial('__urlDeleteDialog', array(
8  'siteId' => $siteId,
9  'urlMd5' => $urlMd5,
10  'urlType' => 1,
11  )
12  );
13  }
14 
15  public function actionDelete()
16  {
17  $command = new UrlDelete;
18  $command->delete();
19  Yii::app()->request->redirect($_SERVER['HTTP_REFERER']);
20  }
21 }