Exemple #1
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_ZOOM_MAX_WIDTH => new \XLite\Model\WidgetParam\Int('Cloud zoom layer maximum width, px', 530), self::PARAM_K_ZOOM => new \XLite\Model\WidgetParam\Float('Minimal zoom coefficient', 1.3), self::PARAM_ZOOM_ADJUST_X_PD => new \XLite\Model\WidgetParam\Int('Relative horizontal position of the zoom box on the Product details page', 97), self::PARAM_ZOOM_ADJUST_X_QL => new \XLite\Model\WidgetParam\Int('Relative horizontal position of the zoom box in the Quick look box', 32));
 }