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},
18 array(
'label'=>
'List <?php echo $this->modelClass; ?>',
'url'=>array(
'index')),
19 array(
'label'=>
'Create <?php echo $this->modelClass; ?>',
'url'=>array(
'create')),
20 array(
'label'=>
'Update <?php echo $this->modelClass; ?>',
'url'=>array(
'update',
'id'=>$model-><?php echo $this->tableSchema->primaryKey; ?>)),
21 array(
'label'=>
'Delete <?php echo $this->modelClass; ?>',
'url'=>
'#',
'linkOptions'=>array(
'submit'=>array(
'delete',
'id'=>$model-><?php echo $this->tableSchema->primaryKey; ?>),
'confirm'=>
'Are you sure you want to delete this item?')),
22 array(
'label'=>
'Manage <?php echo $this->modelClass; ?>',
'url'=>array(
'admin')),
26 <h1>View <?php echo $this->modelClass .
" #<?php echo \$model->{$this->tableSchema->primaryKey}; ?>"; ?></h1>
28 <?php echo
"<?php"; ?> $this->widget(
'booster.widgets.TbDetailView',array(
32 foreach ($this->tableSchema->columns as $column) {
33 echo
"\t\t'" . $column->name .
"',\n";