public function DisplayBareProperties(WebPage $oPage, $bEditMode = false, $sPrefix = '', $aExtraParams = array()) { if (!$this->IsNew()) { $this->Set('database_table_name', $this->GetDataTable()); } return parent::DisplayBareProperties($oPage, $bEditMode, $sPrefix, $aExtraParams); }