예제 #1
0
 public function parse()
 {
     if (!$this->preMatchOverall()) {
         return false;
     }
     return parent::parse();
 }
예제 #2
0
 /**
  * Parses the current UA and checks whether it contains HbbTv information
  *
  * @see televisions.yml for list of detected televisions
  */
 public function parse()
 {
     // only parse user agents containing hbbtv fragment
     if (!$this->isHbbTv()) {
         return false;
     }
     parent::parse();
     // always set device type to tv, even if no model/brand could be found
     $this->deviceType = self::DEVICE_TYPE_TV;
     return true;
 }