dankocherga / MTool

Magento developer code generator built on zend tool framework
48 stars 17 forks source link

front/admin actions - create/rewrite #3

Open dankocherga opened 13 years ago

dankocherga commented 13 years ago

Create providers for creating/rewriting frontend and admin actions

dankocherga commented 13 years ago

== admin action ==

zf add mage-action admin/testing/view

If config entry admin/routers/adminhtml/args/modules/testing not found ask the module > oggetto/testing

    will create in config.xml:
        <admin>
            <routers>
                <adminhtml>
                    <args>
                        <modules>
                            <testing before="Mage_Adminhtml">Oggetto_Testing_Adminhtml</testing>
                        </modules>
                    </args>
                </adminhtml>
            </routers>
        </admin>

    will create controller file
    will create controller action method

If entry found: will create controller file if not exist will create controller action method

Will ask for a menu item ???

hws47a commented 7 years ago

It's done in https://github.com/hws47a/MTool