Instead of overriding the table() method for each persistent class, the table

name should be included in classSettings().
This commit is contained in:
Ben Simpson 2003-05-07 11:03:26 +00:00
parent 96bfe07ec9
commit 2786df46ce
4 changed files with 35 additions and 21 deletions

View file

@ -48,7 +48,8 @@ sub classSettings {
parentId => { defaultValue => 0 },
collateralFolderId => { key => 1 },
description => { quote => 1 }
}
},
table => 'collateralFolder'
}
}
@ -73,6 +74,4 @@ sub recursiveDelete {
WebGUI::Collateral->multiDelete(@collateralIds);
}
sub table { 'collateralFolder' }
1;