コード例 #1
0
 /**
  * Constructor: initialize essential data members
  */
 public function __construct($debugging = FALSE, $allowOverridesInUrl = FALSE)
 {
     parent::__construct($debugging, $allowOverridesInUrl);
     $this->detectorUsed = parent::GADGET_DETECTOR_TERA_WURFL;
     $this->teraWurflObject = new TeraWurfl();
     // Instantiate the TeraWURFL object
 }
 /**
  * Constructor: initialize essential data members
  */
 public function __construct($debugging = FALSE, $allowOverridesInUrl = FALSE)
 {
     // Ignore overrides: without detection, we should not expect to see phone/tablet views
     //
     $allowOverridesInUrl = FALSE;
     parent::__construct($debugging, $allowOverridesInUrl);
     $this->detectorUsed = parent::GADGET_DETECTOR_NO_DETECTION;
 }
コード例 #3
0
 /**
  * Constructor: initialize essential data members
  */
 public function __construct($debugging = FALSE, $allowOverridesInUrl = FALSE)
 {
     parent::__construct($debugging, $allowOverridesInUrl);
     $this->detectorUsed = parent::GADGET_DETECTOR_MOBILE_DETECTOR;
     $this->mobileDetectObject = new Mobile_Detect();
 }
コード例 #4
0
 /**
  * Constructor: initialize essential data members
  */
 public function __construct($debugging = FALSE, $allowOverridesInUrl = FALSE, $usingMobilePhone = null)
 {
     parent::__construct($debugging, $allowOverridesInUrl);
     $this->detectorUsed = parent::GADGET_DETECTOR_DETECT_MOBILE_BROWSERS;
     $this->usingMobilePhone = $usingMobilePhone;
 }
 /**
  * Constructor: initialize essential data members
  */
 public function __construct($debugging = FALSE, $allowOverridesInUrl = FALSE)
 {
     parent::__construct($debugging, $allowOverridesInUrl);
     $this->detectorUsed = parent::GADGET_DETECTOR_TERA_WURFL;
 }