Class for server configuration

This is the config model, that is parsed from config.php.
license New BSD License
link for the canonical source repository
author Ingo Walz
category Zend
package Zend_Service
subpackage ZendServerAPI

 Methods

Returns the api key

getApiKey() : \ZendService\ZendServerAPI\ApiKey

Get the api version

getApiVersion() : string

Returns

string

Get the logging state

getDisableLogging() : boolean

Returns

boolean

Get the host for the connection

getHost() : string

Returns

string

Get the port

getPort() : int

Returns

int

Get the protocol (http/https)

getProtocol() : string

Returns

string

Return the host that is used to proxy the connection

getProxyHost() : string

Returns

string

Set the proxy port

getProxyPort() : int

Returns

int

The api key for the current connection

setApiKey(\ZendService\ZendServerAPI\ApiKey $apiKey) 

Set the API Version

setApiVersion(string $apiVersion) 

Parameters

$apiVersion

string

Api Version

Enables/Disables logging

setDisableLogging(boolean $disableLogging) 

Parameters

$disableLogging

boolean

Set the host name for the http connection

setHost(string $host) 

Parameters

$host

string

Port for the connection

setPort(int $port) 

Parameters

$port

int

Set the protocol (http/https)

setProtocol(string $protocol) : void

Parameters

$protocol

string

Set the host to proxy the requests

setProxyHost(string $proxyHost) : void

Parameters

$proxyHost

string

Set the proxy port

setProxyPort(int $proxyPort) 

Parameters

$proxyPort

int

 Properties

   

$apiVersion : string
 

$disableLogging : bool
 

$host : string
 

$port : int
 

$protocol : string
 

$proxyHost : string
 

$proxyPort : int