ServerInfo model implementation.

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

 Methods

Get the server address as an HTTP URL

getAddress() : string

Returns

string

Get an associative array based on the model information

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

Returns

array

Get the server ID

getId() : int

Returns

int

Get the server name

getName() : string

Returns

string

The server status, which may be one of the following values: - pendingRestart - restarting - misconfigured - extensionMismatch - daemonMismatch - notResponding - disabled - removed - startingUp - shuttingDown - OK - unknown

getStatus() : string

Returns

string

Set the server address as an HTTP URL

setAddress(string $address) : void

Parameters

$address

string

Set the ID

setId(int $id) : void

Parameters

$id

int

Set the message list

setMessageList(\ZendService\ZendServerAPI\DataTypes\MessageList $messageList) : void

Set the server name

setName(string $name) : void

Parameters

$name

string

The server status, which may be one of the following values: - pendingRestart - restarting - misconfigured - extensionMismatch - daemonMismatch - notResponding - disabled - removed - startingUp - shuttingDown - OK - unknown

setStatus(string $status) : void

Parameters

$status

string

 Properties

 

$address : string
 

$id : int
   

$name : string
 

$status : string