Specifications

PA-001011-03-04 Aastra July 2014
271
$object->output();
In this example, the label and the type of the softkey 1 are changed.
Output
Wed Apr 14
9:30am
Callers List
Add to
Directory
Dial
Delete
Wed Jan 5
Sun Jan 1
408-555-1234
Jane Doe
Wed Jan 5 10:01am
2 Call(s)
Line 1
Jane Doe
10:01am
John Doe
03:28pm
13.2 AastraIPPhoneConfiguration()
This class allows you to create a XML PhoneConfiguration object.
Include
AastraIPPhoneConfiguration.class.php
Methods
setEncodingUTF8() to change encoding from default ISO-8859-1 to UTF-8 (optional)
generate() to return the generated XML for the object
output(flush) to display the object
o flush boolean optional, output buffer to be flushed out or not.
setType(type) to set the type of configuration object (optional)
o type string, configuration change type
addEntry(parameter,value,type) to add a configuration change
o parameter string, parameter name
o value string, parameter value
o type string, conmfiguration change type (optional)
setTriggerDestroyOnExit() to set the triggerDestroyOnExit tag to "yes" (optional)
Example
require_once('AastraIPPhoneConfiguration.class.php');