[Maypole] specifying different names for classmetadata elements

Tony Bowden tony@kasei.com
Mon, 6 Dec 2004 12:22:49 +0000


On Mon, Dec 06, 2004 at 12:11:30PM +0000, Simon Flack wrote:
> You can define moniker() and plural_moniker() in your model classes. I'm 
> not sure how this would affect the rest of the system. AFAIK, they're 
> only presentational, so it should be ok to do that.

They're not only presentational.

Class::DBI uses them for a variety of purposes; mostly for guessing
arguments in relationships.

If you're going to change them you may need to specify more things
explicitly in other places, depending on your database set-up.

Tony