/** * 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; }
/** * 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(); }
/** * 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; }