HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
__statusAreaEdit.php
Go to the documentation of this file.
1 <table>
2  <tr>
3  <td>State</td>
4  <td><?= CHtml::dropDownList('state', '', array(
5  '0' => 'Enabled',
6  '1' => 'Disabled',
7  ),
8  array(
9  'options' => array(
10  $itemsProvider->rawData[0]["state"] => Array(
11  'selected' => 'selected'
12  )
13  )
14  )
15  )?>
16  </td>
17  <td class="lefted hint"><?=$descr['state']?></td>
18  </tr>
19  <tr>
20  <td>Status</td>
21  <td><?= CHtml::dropDownList('status', '', array(
22  '0' => 'Undefined',
23  '1' => 'New',
24  '2' => 'Selected for crawling',
25  '3' => 'Crawling',
26  '4' => 'Crawled',
27  '5' => 'Selected to process',
28  '6' => 'Processing',
29  '7' => 'Processed',
30  '8' => 'Selected for crawling (for incremental)'
31  ),
32  array(
33  'options' => array(
34  $itemsProvider->rawData[0]["status"] => Array(
35  'selected' => 'selected'
36  )
37  )
38  )
39  )?>
40  </td>
41  <td class="lefted hint"><?=$descr['status']?></td>
42  </tr>
43  <tr>
44  <td>Type</td>
45  <td><?= CHtml::dropDownList('type', '', array(
46  '0' => 'Regular',
47  '1' => 'Single'
48  ),
49  array(
50  'options' => array(
51  $itemsProvider->rawData[0]["type"] => Array(
52  'selected' => 'selected'
53  )
54  )
55  )
56  )?>
57  </td>
58  <td class="lefted hint"><?=$descr['type']?></td>
59  </tr>
60  <tr>
61  <td>Charset</td>
62  <td><?= CHtml::textField('charset', $itemsProvider->rawData[0]["charset"], array(
63  'class' => 'input-small',
64  'placeholder' => ''
65  )
66  )
67  ?>
68  </td>
69  <td class="lefted hint"><?=$descr['charset']?></td>
70  </tr>
71  <tr>
72  <td>HTTP Method</td>
73  <td><?= CHtml::textField('httpMethod', $itemsProvider->rawData[0]["httpMethod"], array(
74  'class' => 'input-small',
75  'placeholder' => ''
76  )
77  )
78  ?>
79  </td>
80  <td class="lefted hint"><?=$descr['httpMethod']?></td>
81  </tr>
82  <tr>
83  <td>Content type</td>
84  <td><?= CHtml::textField('contentType', $itemsProvider->rawData[0]["contentType"], array(
85  'class' => 'input-big',
86  'placeholder' => ''
87  )
88  )
89  ?>
90  </td><td class="lefted hint"><?=$descr['contentType']?></td>
91  </tr>
92 </table>
93 
94 <?php
95 echo CHtml::hiddenField('siteId', $itemsProvider->rawData[0]["siteId"]);
96 echo CHtml::hiddenField('urlMd5', $itemsProvider->rawData[0]["urlMd5"]);
97 ?>