Skip to content
This repository has been archived by the owner on Dec 17, 2020. It is now read-only.

mklishevych/m2estorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

m2estorm

Provides auto completion for next type of calls (depends on configuration file):

  • Mage::helper('M2ePro/Component_%channel%')->getModel('%entity%')
  • Mage::helper('M2ePro/Component_%channel%')->getObject('%entity%', %id%)
  • Mage::helper('M2ePro/Component_%channel%')->getCachedObject('%entity%', %id%)
  • Mage::helper('M2ePro/Component_%channel%')->getCollection('%entity%')
  • Mage::helper('M2ePro/Component')->getCachedComponentObject('%channel%', '%entity%', %id)

Example of the configuration file:

<?xml version="1.0" encoding="utf-8"?>
<config>
    <factories>
        <factory signature="Mage.helper.M2ePro/Component_Ebay.getModel" />
        <factory signature="Mage.helper.M2ePro/Component_Ebay.getObject" />
        <factory signature="Mage.helper.M2ePro/Component_Ebay.getCachedObject" />
        <factory signature="Mage.helper.M2ePro/Component_Ebay.getCollection" />
        <factory signature="Mage.helper.M2ePro/Component_Amazon.getModel" />
        <factory signature="Mage.helper.M2ePro/Component_Amazon.getObject" />
        <factory signature="Mage.helper.M2ePro/Component_Amazon.getCachedObject" />
        <factory signature="Mage.helper.M2ePro/Component_Amazon.getCollection" />
        <factory signature="Mage.helper.M2ePro/Component_Buy.getModel" />
        <factory signature="Mage.helper.M2ePro/Component_Buy.getObject" />
        <factory signature="Mage.helper.M2ePro/Component_Buy.getCachedObject" />
        <factory signature="Mage.helper.M2ePro/Component_Buy.getCollection" />
        <factory signature="Mage.helper.M2ePro/Component_Play.getModel" />
        <factory signature="Mage.helper.M2ePro/Component_Play.getObject" />
        <factory signature="Mage.helper.M2ePro/Component_Play.getCachedObject" />
        <factory signature="Mage.helper.M2ePro/Component_Play.getCollection" />
        <factory signature="Mage.helper.M2ePro/Component.getUnknownObject" />
        <factory signature="Mage.helper.M2ePro/Component.getCachedComponentObject" entity_argument_position="1" />
    </factories>
</config>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages