Esempio n. 1
0
 public function __construct($options = null)
 {
     //        echo __METHOD__ . " #" . __LINE__ . " <br>";
     parent::__construct($options);
     if (!isset($this->_options)) {
         $this->_options = array();
     }
     $this->SetState(isset($options[self::STATE]) ? $options[self::STATE] : null);
     $this->SetMediaId(isset($options[self::MEDIA_ID]) ? $options[self::MEDIA_ID] : null);
     $this->SetAuthTypeId(isset($options[self::AUTH_TYPE_ID]) ? $options[self::AUTH_TYPE_ID] : null);
 }
Esempio n. 2
0
 public function __construct($options = null)
 {
     parent::__construct($options);
     $this->_product = new \Av\Product\ProductController();
 }