--- /home/mrosenquist/.wadf/pear_local/rcophth-prtflio/php/PHPOF2/DBRow/Simple.php	2008-09-18 15:24:37.000000000 +0100
+++ Simple.php	2008-09-18 16:59:40.000000000 +0100
@@ -26,9 +26,12 @@
 	public  $_labels=array();
 	private $_descriptive_name = null;
 	private $_table_name;
+	private $_table_name_singular;
 	
 	public function __construct(PHPOF2_DBRow &$row) {
+		$this->_created_by = get_class($row);
 		$this->_table_name = $row->table->getTableLabel();
+		$this->_table_name_singular = $row->table->getTableSingularLabel();
 		try {
 			$this->_descriptive_name = $row->getDescriptiveName();
 		} catch (Exception $e) {
@@ -46,6 +49,11 @@
 		return $this->_table_name;
 	}
 	
+	public function getTableSingularLabel()
+	{
+		return $this->_table_name_singular;
+	}
+	
 	public function getDescriptiveName()
 	{
 		return $this->_descriptive_name;
