_getInfo($name, $value, $attribs);
$result = '
' . $this->_getHeader();
if (is_array($value)) {
foreach ($value as $row) {
$result .= $this->_getRow($row);
}
}
$result .= '
';
return $result;
}
protected function _getHeader()
{
return 'Date of Action | Comments | Revision By | Revision Link |
';
}
protected function _getRow($row)
{
$partUrl = Qs_SiteMap::find(null, array('type' => 'Part_'), null, 'url');
return '
' . $row['changed'] . ' |
' . nl2br(htmlspecialchars($row['comments'])) . ' |
' . $row['user'] . ' |
view ' . $row['type'] .
' revision v' . ($row['preProduction'] == 'y' ? 'PP' : '') . $row['version'] . ' |
';
}
}