PAGI\Client\IClient::getFullVariable PHP Method

getFullVariable() public method

Returns a variable value. Uses agi command "GET FULL VARIABLE". False if variable is not set.
public getFullVariable ( string $name, string $channel = false ) : string
$name string Variable name.
$channel string Optional channel name.
return string
    public function getFullVariable($name, $channel = false);

Usage Example

コード例 #1
0
ファイル: CallerIdFacade.php プロジェクト: d4rkstar/pagi
 /**
  * Access AGI client to get the variables.
  *
  * @param string $name Variable name.
  *
  * @return string
  */
 protected function getCallerIdVariable($name)
 {
     return $this->_client->getFullVariable('CALLERID(' . $name . ')');
 }
All Usage Examples Of PAGI\Client\IClient::getFullVariable