PHP Class HTTPWatch, etc

Afficher le fichier Open project: stoyan/etc Class Usage Examples

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

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

done() public méthode

public done ( )

getEntries() public méthode

public getEntries ( )

getStream() public méthode

public getStream ( $val )

getSummary() public méthode

public getSummary ( )

go() public méthode

public go ( $url )

hasRestrictions() public méthode

public hasRestrictions ( )

populate() public méthode

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

toHAR() public méthode

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

Property Details

$api public_oe property

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_oe public_oe property

static public $apipath

$controller public_oe property

The HTTPWatch COM controller
public $controller

$entries public_oe property

public $entries

$hasRestrictedURLs public_oe property

public $hasRestrictedURLs

$paidproperties public_oe property

public $paidproperties

$skipStreams public_oe property

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_oe property

public $summary

$watch public_oe property

HTTPWatch plugin object
public $watch