Config Model & Resource Model Definition

Updated . Posted . Visible to the public.
<config>
    <global>
        <models>
            <namespace_module>
                <class>Namespace_Module_Model</class>
                <resourceModel>namespace_module_resource</resourceModel>
            </namespace_module>
            <namespace_module_resource>
                <class>Namespace_Module_Model_Resource</class>
                <entities>
                    <some_entity>
                        <table>namespace_module_some_entity</table>
                    </some_entity>
                </entities>
            </namespace_module_resource>
        </models>
    </global>
</config>

Mike Whitby
Last edit
Keywords
config.xml
Posted by Mike Whitby to Magento (2012-02-15 15:31)