function isdesktop($agent=NULL) {
		if (!isset($agent))
			$agent=Base::instance()->AGENT;
		return (bool)preg_match('/('.self::UA_Desktop.')/i',$agent) &&
			!$this->ismobile($agent);
	}
function isdesktop($agent=NULL) {
		if (!isset($agent))
			$agent=Base::instance()->AGENT;
		return (bool)preg_match('/('.self::UA_Desktop.')/i',$agent) &&
			!$this->ismobile($agent);
	}
function isdesktop ( $ agent = NULL ) { if ( ! isset ( $ agent ) ) $ agent = Base :: instance ( ) -> AGENT ; return ( bool ) preg_match ( '/(' . self :: UA_Desktop . ')/i' , $ agent ) && ! $ this -> ismobile ( $ agent ) ; }
Return TRUE if user agent is a desktop browser
@return bool
@param $agent string
Return TRUE if user agent is a desktop browser