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

@ -87,7 +87,8 @@ sub classSettings {
groupIdEdit => { defaultValue => 3 },
hideFromNavigation => { defaultValue => 0 },
},
useDummyRoot => 1
useDummyRoot => 1,
table => 'page'
}
}
@ -236,9 +237,5 @@ sub makeUnique {
return $url;
}
#-------------------------------------------------------------------
sub table { 'page' }
1;