HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
UrlRecrawl.php
Go to the documentation of this file.
1 <?php
2 
3 class UrlRecrawl extends UrlCleanup
4 {
5  public function recrawl()
6  {
7  $this->operation = "Re-Crawl";
8  $this->opLog = "URL_RECRAWL (Based on URL_CLEANUP)";
9  $this->dType = 1;
10  $r = Yii::app()->request;
11  $this->cleanupUrlInfo(
12  $r->getParam('siteId'),
13  $r->getParam('url'),
14  $r->getParam('urlType'),
15  '0', '1'
16  );
17 
18  unset($cleanup);
19  return true;
20  }
21 }