예제 #1
0
 /**
  * Initialize entity model
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_entityResource = Mage::getResourceSingleton('catalog/product');
 }
예제 #2
0
파일: Link.php 프로젝트: nemphys/magento2
 /**
  * Initialize entity model
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_entityResource = Mage::getResourceSingleton('Mage_Catalog_Model_Resource_Category');
 }