- function isbot() { return $this->bot; }
- function isns() { return (strpos($this->brand, 'Netscape') !== false); }
- function isns4() { return ((strpos($this->brand, 'Netscape') !== false) && (intval($this->version) == 4)); }
- function isie() { return $this->hasEngine('trident'); }
- function geckodate() { return (!is_null($this->getGeckoDate())?$this->getGeckoDate():0); }
- function geckobased() { return $this->hasEngine('gecko'); }
- function khtmlbased() { return $this->hasEngine('khtml'); }
+ public function isBot() { return $this->bot; }
+
+ public function isns() {
+ trigger_error(__CLASS__.'::'.__FUNCTION__.' is a deprecated function', E_USER_NOTICE);
+ return (strpos($this->brand, 'Netscape') !== false);
+ }
+ public function isns4() {
+ trigger_error(__CLASS__.'::'.__FUNCTION__.' is a deprecated function', E_USER_NOTICE);
+ return ((strpos($this->brand, 'Netscape') !== false) && (intval($this->version) == 4));
+ }
+ public function isie() {
+ trigger_error(__CLASS__.'::'.__FUNCTION__.' is a deprecated function', E_USER_NOTICE);
+ return $this->hasEngine('trident');
+ }
+ public function geckodate() {
+ trigger_error(__CLASS__.'::'.__FUNCTION__.' is a deprecated function', E_USER_NOTICE);
+ return (!is_null($this->getGeckoDate())?$this->getGeckoDate():0);
+ }
+ public function geckobased() {
+ trigger_error(__CLASS__.'::'.__FUNCTION__.' is a deprecated function', E_USER_NOTICE);
+ return $this->hasEngine('gecko');
+ }
+ public function khtmlbased() {
+ trigger_error(__CLASS__.'::'.__FUNCTION__.' is a deprecated function', E_USER_NOTICE);
+ return $this->hasEngine('khtml');
+ }