HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
view.php
Go to the documentation of this file.
1 <?php
2 $this->breadcrumbs = array(
3  UserModule::t('Users') => array('//user/admin/admin'),
4  UserModule::t('Profile Fields') => array('admin'),
5  UserModule::t($model->title),
6 );
7 $this->menu = array(
8  array('label' => UserModule::t('Create Profile Field'), 'url' => array('create')),
9  array('label' => UserModule::t('Update Profile Field'), 'url' => array('update','id' => $model->id)),
10  array('label' => UserModule::t('Delete Profile Field'), 'url' => '#','linkOptions' => array('submit' => array('delete','id' => $model->id),'confirm' => UserModule::t('Are you sure to delete this item?'))),
11  array('label' => UserModule::t('Manage Profile Field'), 'url' => array('admin')),
12 );
13 ?>
14 <h1><?php echo UserModule::t('View Profile Field #').$model->varname; ?></h1>
15 
16 <?php $this->widget('zii.widgets.CDetailView', array(
17  'data' => $model,
18  'attributes' => array(
19  'id',
20  'varname',
21  'title',
22  'field_type',
23  'field_size',
24  'field_size_min',
25  'required',
26  'match',
27  'range',
28  'error_message',
29  'other_validator',
30  'widget',
31  'widgetparams',
32  'default',
33  'position',
34  'visible',
35  ),
36 )); ?>