Cakephp change model's title without rename model/dbtable
Posted
by Vincent
on Stack Overflow
See other posts from Stack Overflow
or by Vincent
Published on 2010-06-16T08:32:50Z
Indexed on
2010/06/16
9:52 UTC
Read the original article
Hit count: 288
I have a table that store all information about class, but because Class is reserved for class name I had to rename the table from classes to types.
But in the view section I need it to be displayed as "Class", including the Paginator links.
Anyway to achieve this by adding something in the Type model, without completely customize Paginator and and all view compoenents?
© Stack Overflow or respective owner