ServersList model implementation.

license New BSD License
link for the canonical source repository
author Ingo Walz
category Zend
package Zend_Service
subpackage ZendServerAPI

 Methods

Add ServerInfo to container

addServerInfo(\ZendService\ZendServerAPI\DataTypes\ServerInfo $serverInfo) : void

Implementation for countable

count() : void

Get an associative array based on the model information

getArray() : array
Inherited
inherited_from \ZendService\ZendServerAPI\DataTypes\DataType::getArray()

Returns

array

Implementation for traversable

getIterator() : \ArrayIterator

Get the internal ServerInfo container

getServerInfos() : array

Returns

array

Returns the ServerInfo by a given Zend Server ID

getServerStatusById(int $serverId) : \ZendService\ZendServerAPI\DataTypes\ServerInfo | false

Parameters

$serverId

int

Returns

Returns the ServerInfo by a given Zend Server Name

getServerStatusByName(string $serverName) : \ZendService\ZendServerAPI\DataTypes\ServerInfo | false

Parameters

$serverName

string

Returns

Set ServerInfo container

setServerInfos(array $serverInfos) : void

Parameters

$serverInfos

array

 Properties

 

$serverInfos : array