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 /* @var $this CustomerController */
3 /* @var $model PersonalInfo */
4 
5 $this->breadcrumbs=array(
6  'Customers'=>array('index'),
7  'Customer ID (#'.$model->pesonal_info_id.')',
8 );
9 
10 $this->menu=array(
11  array('label'=>'<i class="icon-pencil"></i> Update Customers', 'url'=>array('update', 'id'=>$model->pesonal_info_id)),
12  array('label'=>'<i class="icon-trash"></i> Delete Customer', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->pesonal_info_id),'confirm'=>'Are you sure you want to delete this customer?')),
13  array('label'=>'<i class="icon-th-list"></i> List Customers', 'url'=>array('index')),
14  array('label'=>'<i class="icon-plus-sign"></i> Create Customers', 'url'=>array('create')),
15  array('label'=>'<i class="icon-edit"></i> Manage Customers', 'url'=>array('admin')),
16 );
17 ?>
18 <div class="page-header">
19  <h1>View Customer ID (#<?php echo $model->pesonal_info_id; ?>)</h1>
20 </div>
21 
22 <?php $this->widget('zii.widgets.CDetailView', array(
23  'data'=>$model,
24  'htmlOptions'=>array('class'=>'table table-striped table-bordered table-hover'),
25  'attributes'=>array(
26  'pesonal_info_id',
27  'custom_id',
28  'first_name',
29  'last_name',
30  'phone_home',
31  'phone_work',
32  'phone_mobile',
33  'fax',
34  'email_primary',
35  'email_secondary',
36  'address_1',
37  'address_2',
38  'address_3',
39  'country',
40  'gender',
41  'marital_status',
42  'dob',
43  'date_joined',
44  'date_left',
45  'middle_name',
46  'national_id',
47  'passport_number',
48  'drivers_license',
49  'other_id',
50  'other_id_2',
51  'nationality',
52  'ethnic_race',
53  'smoker',
54  'status',
55  ),
56 )); ?>