开发者

Cakephp change model's title without rename model/dbtable

I have a table th开发者_Python百科at 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?


Which display elements in the view are you trying to customise?

As you could probably do this using routes.

http://book.cakephp.org/view/341/Routes

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜