PHP 클래스 WPDKUserAgents

부터: 1.6.0
저자: =undo= ([email protected])
파일 보기 프로젝트 열기: wpxtreme/wpdk

공개 메소드들

메소드 설명
crawlers ( ) : array Return a key value pairs array with the complete list of crawler user agents.
isCrawler ( string $user_agent = '' ) : boolean Return TRUE if an user agent or current user agent is a Crawler.
userAgents ( ) : array Return a key value pairs array with the complete list of user agents for type.

메소드 상세

crawlers() 공개 정적인 메소드

Return a key value pairs array with the complete list of crawler user agents.
public static crawlers ( ) : array
리턴 array

isCrawler() 공개 정적인 메소드

Return TRUE if an user agent or current user agent is a Crawler.
public static isCrawler ( string $user_agent = '' ) : boolean
$user_agent string Optional. User agent string or blank for current user agent.
리턴 boolean

userAgents() 공개 정적인 메소드

Return a key value pairs array with the complete list of user agents for type.
public static userAgents ( ) : array
리턴 array