Example #1
0
 /**
  * Retrieve select object and join it to product entity table to get type ids
  *
  * @param string $field
  * @param mixed $value
  * @param Mage_CatalogInventory_Model_Stock_Item $object
  * @return Varien_Db_Select
  */
 protected function _getLoadSelect($field, $value, $object)
 {
     $select = parent::_getLoadSelect($field, $value, $object)->join(array('link' => $this->getTable('core/layout_link')), 'link.layout_update_id=core_layout_update.layout_update_id', array('link.*'));
     return $select;
 }
Example #2
0
 public function testFetchUpdatesByHandle()
 {
     $this->assertEmpty($this->_model->fetchUpdatesByHandle('test', array('test' => 'test')));
 }