Specifications

Aastra July 2014 PA-001011-03-04
284
$input->setFieldPassword('yes');
$input->setFieldPrompt('Password:');
$input->setFieldParameter('password');
$input->setFieldSelection('2');
$input->addSoftkey('10', 'Exit', 'SoftKey:Exit');
$input->output();
Output
XML
Fri Nov 6
9:30am
Restricted application
Exit
Submit
admin
Username:
*****
Password:
13.9 AastraIPPhoneStatus()
This class allows you to create a XML PhoneStatus object.
Include
AastraIPPhoneStatus.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.
setSession(session) to setup the session ID
o session string
setTriggerDestroyOnExit() to set the triggerDestroyOnExit tag to "yes" (optional)
addEntry(index,message,type,timeout,uri,icon) to add a message to be displayed on the
idle screen.
o index integer
o message string