Documentation

Division
in package
implements IteratorAggregate

Division class

Table of Contents

Interfaces

IteratorAggregate

Constants

ERR_EMPTY_ARRAY  = -2
ERR_EMPTY_RESULT  = -1

Properties

$authUrl  : string
$divisions  : array<string|int, mixed>
$searchUrl  : string

Methods

__construct()  : mixed
__destruct()  : mixed
fetch()  : int
Search all divisions
getIterator()  : array<string|int, mixed>
Iterate over divisions found

Constants

ERR_EMPTY_ARRAY

public mixed ERR_EMPTY_ARRAY = -2

ERR_EMPTY_RESULT

public mixed ERR_EMPTY_RESULT = -1

Properties

$divisions

private array<string|int, mixed> $divisions

$searchUrl

private string $searchUrl = ''

Methods

__construct()

public __construct(string $proto, string $fqdn, int $port, string $auth) : mixed
Parameters
$proto : string
$fqdn : string
$port : int
$auth : string

__destruct()

public __destruct() : mixed

fetch()

Search all divisions

public fetch() : int
Return values
int

Number of elems found

getIterator()

Iterate over divisions found

public getIterator() : array<string|int, mixed>
Return values
array<string|int, mixed>

array of \CollettoreUnico\DataStructure\Shifter


        
On this page

Search results