PHP 클래스 HTTPWatch, etc

파일 보기 프로젝트 열기: stoyan/etc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$api The values explained: + 1 means scalar e.g. URL of an entry + 2 means value will become unix timestamp + string means an object of class named after the string e.g. The Response member of the Entry object is an object of class Response + array means a list of values where each value is of class named after the single array value e.g. array('Warning') means the member is a list of Warning objects
$apipath
$controller The HTTPWatch COM controller
$entries
$hasRestrictedURLs
$paidproperties
$skipStreams Whether the raw request/response body should be returned in data methods such as getEntries() Default is TRUE, meaning skip these raw streams
$summary
$watch HTTPWatch plugin object

공개 메소드들

메소드 설명
__construct ( $brow = 'ie', $config = ['empty_cache' => true] )
done ( )
getEntries ( )
getStream ( $val )
getSummary ( )
go ( $url )
hasRestrictions ( )
populate ( $o, $classname, $islist = false ) : array Helper. Recursively goes through the properties of a VARIANT object $o of class $classname.
toHAR ( $filename = false ) If no filename is passed returns the HAR JSON

메소드 상세

__construct() 공개 메소드

public __construct ( $brow = 'ie', $config = ['empty_cache' => true] )

done() 공개 메소드

public done ( )

getEntries() 공개 메소드

public getEntries ( )

getStream() 공개 메소드

public getStream ( $val )

getSummary() 공개 메소드

public getSummary ( )

go() 공개 메소드

public go ( $url )

hasRestrictions() 공개 메소드

public hasRestrictions ( )

populate() 공개 메소드

$islist should be TRUE if $o is a collection/list and provides Count and Item()
public populate ( $o, $classname, $islist = false ) : array
리턴 array of properties

toHAR() 공개 메소드

If no filename is passed returns the HAR JSON
public toHAR ( $filename = false )

프로퍼티 상세

$api 공개적으로 프로퍼티

The values explained: + 1 means scalar e.g. URL of an entry + 2 means value will become unix timestamp + string means an object of class named after the string e.g. The Response member of the Entry object is an object of class Response + array means a list of values where each value is of class named after the single array value e.g. array('Warning') means the member is a list of Warning objects
public $api

$apipath 정적으로 공개적으로 프로퍼티

static public $apipath

$controller 공개적으로 프로퍼티

The HTTPWatch COM controller
public $controller

$entries 공개적으로 프로퍼티

public $entries

$hasRestrictedURLs 공개적으로 프로퍼티

public $hasRestrictedURLs

$paidproperties 공개적으로 프로퍼티

public $paidproperties

$skipStreams 공개적으로 프로퍼티

Whether the raw request/response body should be returned in data methods such as getEntries() Default is TRUE, meaning skip these raw streams
public $skipStreams

$summary 공개적으로 프로퍼티

public $summary

$watch 공개적으로 프로퍼티

HTTPWatch plugin object
public $watch