"; foreach ($scaffoldFields as $_field) { $isKey = false; if (!empty($associations['belongsTo'])) { foreach ($associations['belongsTo'] as $_alias => $_details) { if ($_field === $_details['foreignKey']) { $isKey = true; echo ""; break; } } } if ($isKey !== true) { echo ""; } } echo ''; echo ''; endforeach; ?>
Paginator->sort($_field);?>
" . $this->Html->link(${$singularVar}[$_alias][$_details['displayField']], array('controller' => $_details['controller'], 'action' => 'view', ${$singularVar}[$_alias][$_details['primaryKey']])) . "" . h(${$singularVar}[$modelClass][$_field]) . "'; echo $this->Html->link(__('View'), array('action' => 'view', ${$singularVar}[$modelClass][$primaryKey])); echo $this->Html->link(__('Edit'), array('action' => 'edit', ${$singularVar}[$modelClass][$primaryKey])); echo $this->Form->postLink( __('Delete'), array('action' => 'delete', ${$singularVar}[$modelClass][$primaryKey]), null, __('Are you sure you want to delete').' #' . ${$singularVar}[$modelClass][$primaryKey] ); echo '

Paginator->counter(array( 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%') )); ?>

Paginator->prev('<< ' . __('previous'), array(), null, array('class' => 'disabled')); ?> | Paginator->numbers(); ?> Paginator->next(__('next') .' >>', array(), null, array('class' => 'disabled')); ?>