PHP Class PHPDaemon\Clients\Asterisk\Pool

Inheritance: extends PHPDaemon\Network\Client
Datei anzeigen Open project: kakserpom/phpdaemon Class Usage Examples

Public Properties

Property Type Description
$safeCaseValues Beginning of the string in the header or value that indicates whether the save value case

Protected Properties

Property Type Description
$amiVersions Asterisk Call Manager Interface versions for each session

Public Methods

Method Description
extract ( string $line ) : array Extract key and value pair from line.
prepareEnv ( string $data ) : array Prepares environment scope
setAmiVersion ( string $addr, string $ver ) : void Sets AMI version

Protected Methods

Method Description
getConfigDefaults ( ) : array Setting default config options Overriden from NetworkClient::getConfigDefaults

Method Details

extract() public static method

Extract key and value pair from line.
public static extract ( string $line ) : array
$line string
return array

getConfigDefaults() protected method

Setting default config options Overriden from NetworkClient::getConfigDefaults
protected getConfigDefaults ( ) : array
return array

prepareEnv() public static method

Prepares environment scope
public static prepareEnv ( string $data ) : array
$data string Address
return array

setAmiVersion() public method

Sets AMI version
public setAmiVersion ( string $addr, string $ver ) : void
$addr string Address
$ver string Version
return void

Property Details

$amiVersions protected_oe property

Asterisk Call Manager Interface versions for each session
protected $amiVersions

$safeCaseValues public_oe static_oe property

Beginning of the string in the header or value that indicates whether the save value case
public static $safeCaseValues