HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
UrlReprocess.php
Go to the documentation of this file.
1 <?php
2 
3 class UrlReprocess extends UrlUpdate
4 {
5  public function getJson()
6  {
7  $this->operation = "Re-process";
8  $request = Yii::app()->getRequest();
9  $json[] = array(
10  'CDate' => null,
11  'UDate' => 'NOW()',
12  'batchId' => null,
13  'charset' => null,
14  'contentMask' => null,
15  'contentType' => null,
16  'contentURLMd5' => null,
17  'crawled' => null,
18  'crawlingTime' => null,
19  'depth' => null,
20  'eTag' => null,
21  'errorMask' => null,
22  'freq' => null,
23  'httpCode' => null,
24  'httpMethod' => null,
25  'httpTimeout' => null,
26  'lastModified' => null,
27  'linksE' => null,
28  'linksI' => null,
29  'mRate' => null,
30  'mRateCounter' => null,
31  'maxURLsFromPage' => null,
32  'pDate' => null,
33  'parentMd5' => null,
34  'priority' => null,
35  'processed' => null,
36  'processingDelay' => null,
37  'processingTime' => null,
38  'rawContentMd5' => null,
39  'requestDelay' => null,
40  'siteId' => $request->getPost('siteId'),
41  'siteSelect' => null,
42  'size' => null,
43  'state' => 0,
44  'status' => 4,
45  'tagsCount' => null,
46  'tagsMask' => null,
47  'tcDate' => null,
48  'totalTime' => null,
49  'type' => null,
50  'url' => null,
51  'urlMd5' => $request->getPost('urlMd5'),
52  'urlUpdate' => 1,
53  );
54  return $json;
55  }
56 }