Paginator->sort('event_id'),
$this->Paginator->sort('date', __('Date')),
$this->Paginator->sort('Event.orgc_id', __('Org')),
$this->Paginator->sort('category', __('Category')),
$this->Paginator->sort('type', __('Type')),
$this->Paginator->sort('value', __('Value')),
__('Tags'),
__('Event Tags'),
__('Galaxies'),
$this->Paginator->sort('comment', __('Comment')),
sprintf('
%s', $attrDescriptions['signature']['desc'], $this->Paginator->sort('IDS')),
__('Sightings'),
// $this->Paginator->sort('decay_score.score', __('Score')),
__('Score'),
);
foreach ($headers as $k => &$header) {
$header = sprintf('%s | ', $header);
}
$header = sprintf('
%s
', implode('', $headers));
$rows = array();
foreach ($attributes as $k => $attribute) {
$event = array(
'Event' => $attribute['Event'],
'Orgc' => $attribute['Event']['Orgc'],
);
$rows[] = $this->element('DecayingModels/View/row_attribute_simulation', array(
'object' => $attribute['Attribute'],
'event' => $event
));
}
echo sprintf('
', $header, implode('', $rows));
?>
Paginator->counter(array(
'format' => __('Page {:page} of {:pages}, showing {:current} records out of {:count} total, starting on record {:start}, ending on {:end}')
));
?>