PHP Class MyPagiApplication, PAGI

Inheritance: extends PAGI\Application\PAGIApplication
ファイルを表示 Open project: marcelog/pagi Class Usage Examples

Protected Properties

Property Type Description
$agi
$asteriskLogger
$channelVariables
$nodeController

Public Methods

Method Description
errorHandler ( $type, $message, $file, $line )
getCallingCardValidationsForTransfer ( )
getCommonCallingCardValidations ( )
init ( )
mainMenu ( )
run ( )
shutdown ( )
signalHandler ( $signo )

Protected Methods

Method Description
buildConfirmTransferToCard ( NodeController $nodeController, Closure $onInit )
buildDial ( NodeController $nodeController )
buildGenericNode ( $name, NodeController $nodeController )
buildHelp ( NodeController $nodeController )
buildMainMenu ( NodeController $nodeController )
buildMaxAttemptsReached ( NodeController $nodeController )
buildPinEntry ( $name, $sound, $nextNodeName, NodeController $nodeController, $validators, $onInit = null )
buildPlayBalance ( NodeController $nodeController )
getCallingCardValidationsForCall ( )
getCallingCardValidationsForSecondCard ( )

Method Details

buildConfirmTransferToCard() protected method

protected buildConfirmTransferToCard ( NodeController $nodeController, Closure $onInit )
$nodeController PAGI\Node\NodeController
$onInit Closure

buildDial() protected method

protected buildDial ( NodeController $nodeController )
$nodeController PAGI\Node\NodeController

buildGenericNode() protected method

protected buildGenericNode ( $name, NodeController $nodeController )
$nodeController PAGI\Node\NodeController

buildHelp() protected method

protected buildHelp ( NodeController $nodeController )
$nodeController PAGI\Node\NodeController

buildMainMenu() protected method

protected buildMainMenu ( NodeController $nodeController )
$nodeController PAGI\Node\NodeController

buildMaxAttemptsReached() protected method

protected buildMaxAttemptsReached ( NodeController $nodeController )
$nodeController PAGI\Node\NodeController

buildPinEntry() protected method

protected buildPinEntry ( $name, $sound, $nextNodeName, NodeController $nodeController, $validators, $onInit = null )
$nodeController PAGI\Node\NodeController

buildPlayBalance() protected method

protected buildPlayBalance ( NodeController $nodeController )
$nodeController PAGI\Node\NodeController

errorHandler() public method

public errorHandler ( $type, $message, $file, $line )

getCallingCardValidationsForCall() protected method

getCallingCardValidationsForSecondCard() protected method

getCallingCardValidationsForTransfer() public method

getCommonCallingCardValidations() public method

init() public method

public init ( )

mainMenu() public method

public mainMenu ( )

run() public method

public run ( )

shutdown() public method

public shutdown ( )

signalHandler() public method

public signalHandler ( $signo )

Property Details

$agi protected_oe property

protected $agi

$asteriskLogger protected_oe property

protected $asteriskLogger

$channelVariables protected_oe property

protected $channelVariables

$nodeController protected_oe property

protected $nodeController