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); }
public function __construct($options = null) { parent::__construct($options); $this->_product = new \Av\Product\ProductController(); }
), "id"=> "motorola-bravo-with-motoblur", "images"=> array( "img/phones/motorola-bravo-with-motoblur.0.jpg", "img/phones/motorola-bravo-with-motoblur.1.jpg", "img/phones/motorola-bravo-with-motoblur.2.jpg" ), "name"=> "MOTOROLA BRAVO\u2122 with MOTOBLUR\u2122", "sizeAndWeight"=> array( "dimensions"=> array( "63.0 mm (w)", "109.0 mm (h)", "13.3 mm (d)" ), "weight"=> "130.0 grams" ), "storage"=> array( "flash"=> "", "ram"=> "" ) ); */ //echo "<br><pre>" . print_r($_SERVER,true) . "<br></pre>"; require_once "_bootstrap.php"; $oAuth = new \Av\AuthController(); $oLocale = new \Av\Localization\LocalizationController($_REQUEST); $dispatcher = new \Av\DispatcherController($_SERVER); $dispatcher->dispatche(); \Av\BaseController::SendAjaxResponse(); ?>