HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
update.php
Go to the documentation of this file.
1 <?php
6 ?>
7 <?php
8 echo "<?php\n";
9 $nameColumn = $this->guessNameColumn($this->tableSchema->columns);
10 $label = $this->pluralize($this->class2name($this->modelClass));
11 echo "\$this->breadcrumbs=array(
12  '$label'=>array('index'),
13  \$model->{$nameColumn}=>array('view','id'=>\$model->{$this->tableSchema->primaryKey}),
14  'Update',
15 );\n";
16 ?>
17 
18  $this->menu=array(
19  array('label'=>'List <?php echo $this->modelClass; ?>','url'=>array('index')),
20  array('label'=>'Create <?php echo $this->modelClass; ?>','url'=>array('create')),
21  array('label'=>'View <?php echo $this->modelClass; ?>','url'=>array('view','id'=>$model-><?php echo $this->tableSchema->primaryKey; ?>)),
22  array('label'=>'Manage <?php echo $this->modelClass; ?>','url'=>array('admin')),
23  );
24  ?>
25 
26  <h1>Update <?php echo $this->modelClass . " <?php echo \$model->{$this->tableSchema->primaryKey}; ?>"; ?></h1>
27 
28 <?php echo "<?php echo \$this->renderPartial('_form',array('model'=>\$model)); ?>"; ?>