Customizing list view
Posted: Tue Mar 13, 2012 10:41 am
- Code: Select all
class table_people {
...
function renderRow( &$record ){
return '<td>'.$record->display('first_name').'</td>'.
'<td>'.$record->display('last_name').'</td>'.
'<td>'.$record->display('phone').'</td>';
}
...
}
The code above will generate a list of the fields contents for each record. How can I make a field link to the record's view details like the default list?