match() 공개 메소드

Parses the user agent string and inititializes the object with all the known features and quirks for the given browser.
public match ( string $userAgent = null, string $accept = null )
$userAgent string The browser string to parse.
$accept string The HTTP_ACCEPT settings to use.
예제 #1
0
 /**
  */
 public function match($userAgent = null, $accept = null)
 {
     parent::match($userAgent, $accept);
     try {
         $GLOBALS['injector']->getInstance('Horde_Core_Hooks')->callHook('browser_modify', 'horde', array($this));
     } catch (Horde_Exception_HookNotSet $e) {
     }
 }