Thursday, 15 September 2011

Zend naming of views -


I am using Zend Framework 1.12.0

This is a starting question, but I Not found

If I have a controller called "Control" and have an action called "doThat", then how should this visible template be named?

/views/scripts/controlThis/doThat.phtml?

Thanks in advance!

For the controller, Name it with the capital letter, after which the controller is accompanied by a capital letter.

Actions: Public function someactionAction () {}

For the action name, it should have a lower cap after the action with the capital letter.

View: / views / scripts / index / someaction.phtml

For View, see

in short caps >

No comments:

Post a Comment