PHP Класс HTTPWatch, etc

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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