-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear separation for Controller and controllers required with Full Controller path #8
Comments
The classes under Controller are meant to be abstract classes which are extended by real controllers. |
any idea why Magento dont include controller folder name in controller class name ? |
Organising action controllers in a controllers/ directory and omitting "controllers" in the class name originates from Zend Framework. |
When rewriting controllers sometimes you only want to rewrite specific methods. There are probably other good reasons as well, but in general controllers are quite a bit different than models/helpers/blocks. |
Good question, @jigneshthummar.
If you say about rewritting controller via config.xml, than you don't need to specify file name there. We'll add documentation page about differences between 'controllers' and 'Controller' directories in Magento Framework section. |
-I can't find difference between folder Controller and controllers folder under Catalog ( and some other ) modules its possible to merge both of them or any reason why its like that?
-more over is it possible to add full controller path as controllers class name? same like Model and Block class name?
i.e
Mage_Catalog_IndexController can be converted to Mage_Catalog_controllers_IndexController
The text was updated successfully, but these errors were encountered: