name); $table = Inflector::singularize($this->name); $evenNum = 1; $css = false; ?>
Field | Value | $table->joinedHasOne)){ echo"Joined Table | "; } ?>$table->joinedHasOne)){?> |
---|---|---|
$table->joinedHasOne);
$count = $columnCount;
for ($i = 0; $i <= $joinedCount-1; $i++) {
foreach ($this->$table->joinedHasOne[$i]->_table_info as $tab) {
foreach($tab as $test){
if($test['name'] === 'id'){
echo $html->linkTo('Edit: '. Inflector::humanize(Inflector::singularize($this->$table->joinedHasOne[$i]->table)) .'',"/{$this->$table->joinedHasOne[$i]->table}/edit/{$names[Inflector::singularize($this->$table->joinedHasOne[$i]->table)][$test['name']]}");
echo ' ' . Inflector::humanize($test['name']) .': ' . $names[Inflector::singularize($this->$table->joinedHasOne[$i]->table)][$test['name']]; } else{ echo ' ' . Inflector::humanize($test['name']) .': ' . $names[Inflector::singularize($this->$table->joinedHasOne[$i]->table)][$test['name']]; } $count++; } echo ' '; } } ?> |
linkTo('Back', "/{$this->viewPath}/list/")?> linkTo('Edit',"/{$this->viewPath}/edit/{$names[Inflector::singularize($this->name)]['id']}")?> linkTo('Destroy',"/{$this->viewPath}/destroy/{$names[Inflector::singularize($this->name)]['id']}")?> |