Example #1
0
 /**
  * @param ElementJBPrice|String $element
  * @param Item                  $item
  * @param array                 $options
  */
 public function __construct($element, Item $item = null, $options = array())
 {
     parent::__construct($element, $item, $options);
     $this->_param_id = array_key_exists('paramId', $options) ? $options['paramId'] : null;
     $this->_helper = $this->app->jbprice;
     $this->_cell = $this->app->jbcsvcell;
 }
Example #2
0
 /**
  * @param Element|String $element
  * @param Item           $item
  * @param array          $options
  */
 public function __construct($element, Item $item = null, $options = array())
 {
     parent::__construct($element, $item, $options);
     $this->_jbcolor = $this->app->jbcolor;
 }
Example #3
0
 /**
  * Constructor
  * @param JBCartElementPrice $element
  * @param ElementJBPrice     $jbPrice
  * @param array              $options
  */
 public function __construct($element, $jbPrice, $options = array())
 {
     parent::__construct($jbPrice, $jbPrice->getItem(), $options);
     $this->_param = $element;
 }