";
- foreach( $row as $column=>$value )
+ foreach( $row as $column=>$value )
{
echo "".$value." | ";
}
?>
- linkTo('View',"/".Inflector::underscore($controller)."/show/{$row['id']}/")?>
- linkTo('Edit',"/".Inflector::underscore($controller)."/edit/{$row['id']}/")?>
- linkTo('Delete',"/".Inflector::underscore($controller)."/destroy/{$row['id']}/")?>
+ | linkTo('View',"/".Inflector::underscore($controller)."/show/{$row[$this->controller->{$modelName}->{$association}->primaryKey]}/")?>
+ linkTo('Edit',"/".Inflector::underscore($controller)."/edit/{$row[$this->controller->{$modelName}->{$association}->primaryKey]}/")?>
+ linkTo('Delete',"/".Inflector::underscore($controller)."/destroy/{$row[$this->controller->{$modelName}->{$association}->primaryKey]}/")?>
|
";
}
}
?>
-
+