Ok. So I have a table named Jobs in which the primary key is a column called Job_ID. I want this column to be the title for each record.
I created a delegate class in tables/Jobs named Jobs.php.
the contents of this file are:
<?
class tables_Jobs {
function getTitle(&$record){
return $record->val('Job_ID');
}
}
?>
Its mostly copied right out of the delegate classes tutorial in the documentation.
When I check my Jobs table from my web browser, I get a white screen with the following text in the upper left corner:
val('Job_ID'); } } ?>
Any ideas what I'm doing wrong? I am not very familiar with PHP.
Thanks,
Mike