* Copyright (c) 2005, CakePHP Authors/Developers * * Author(s): Larry E. Masters aka PhpNut * Kamil Dzielinski aka Brego * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @filesource * @author CakePHP Authors/Developers * @copyright Copyright (c) 2005, CakePHP Authors/Developers * @link https://trac.cakephp.org/wiki/Authors Authors/Developers * @package cake * @subpackage cake.cake.libs.controller.templates.scaffolds * @since CakePHP v 0.10.0.1076 * @version $Revision$ * @modifiedby $LastChangedBy$ * @lastmodified $Date$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License */ ?>

List name)?>

name); $modelKey = $model; $humanName = Inflector::humanize($this->name); $humanSingularName = Inflector::singularize( $humanName ); // var_dump( $data ); ?> "; } else { echo ""; } foreach( $fieldNames as $field=>$value ) { ?> value ?>
Actions
getObject( $otherModelKey ); $alias = array_search($value['table'],$this->controller->{$model}->alias); if( is_object($otherModelObject) ) { $displayText = $row[$alias][ $otherModelObject->getDisplayField() ]; } else{ $displayText = $row[$alias][$field]; } echo $html->linkTo( $displayText, "/".Inflector::underscore($otherControllerName)."/show/".$row[$modelKey][$field] ); } else { echo $row[$modelKey][$field]; } ?> linkTo('View',"/".$this->viewPath."/show/{$row[$modelKey]['id']}/")?> linkTo('Edit',"/".$this->viewPath."/edit/{$row[$modelKey]['id']}/")?> linkTo('Delete',"/".$this->viewPath."/destroy/{$row[$modelKey]['id']}/")?>