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