HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
__statsAreaEdit.php
Go to the documentation of this file.
1 <table>
2  <tr>
3  <td>State</td>
4  <td><?= CHtml::dropDownList('state', '', array(
5  '1' => 'Active',
6  '2' => 'Disabled',
7  '3' => 'Suspended'
8  ),
9  array(
10  'options' => array(
11  $itemsProvider->rawData[0]["state"] => Array(
12  'selected' => 'selected'
13  )
14  )
15  )
16  )?>
17  </td>
18  <td class="lefted hint"><?=$descr['state']?></td>
19  </tr>
20  <tr>
21  <td>Description</td>
22  <td><?= CHtml::textField('description', $itemsProvider->rawData[0]["description"], array(
23  'class' => 'input-big',
24  'placeholder' => '65 chars max',
25  'maxlength' => '65'
26  )) ?>
27  </td>
28  <td class="lefted hint"><?=$descr['description']?></td>
29  </tr>
30 </table>
31 <?php
32 echo CHtml::hiddenField('id', $itemsProvider->rawData[0]["id"]);
33 ?>
34