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