/** * {@inheritdoc} */ public function getImage($product, $imageId, $attributes = array()) { $pluginInfo = $this->pluginList->getNext($this->subjectType, 'getImage'); if (!$pluginInfo) { return parent::getImage($product, $imageId, $attributes); } else { return $this->___callPlugins('getImage', func_get_args(), $pluginInfo); } }
/** * Internal constructor * * @return void */ protected function _construct() { parent::_construct(); $this->addColumnCountLayoutDepend('1column', 5)->addColumnCountLayoutDepend('2columns-left', 4)->addColumnCountLayoutDepend('2columns-right', 4)->addColumnCountLayoutDepend('2columns', 3); }
/** * Internal constructor * * @return void */ protected function _construct() { parent::_construct(); $this->addColumnCountLayoutDepend('one_column', 5)->addColumnCountLayoutDepend('two_columns_left', 4)->addColumnCountLayoutDepend('two_columns_right', 4)->addColumnCountLayoutDepend('three_columns', 3); }