Specifications
PA-001011-03-04 Aastra July 2014
287
$menu->addEntry('Choice 2',
'http://myserver.com/script.php?choice=2', 'Value=2');
$menu->addEntry('Choice 1',
'http://myserver.com/script.php?choice=1', 'Value=1');
$menu->addEntry('Choice 3',
'http://myserver.com/script.php?choice=3', 'Value=3');
$menu->natsortByName();
$menu->addSoftkey('1', 'My Select',
'http://myserver.com/script.php?action=1');
$menu->addSoftkey('10', 'Exit', 'SoftKey:Exit');
$menu->output();
Output
My Select
XML
Exit
Fri Nov 6
9:30am
Title
Choice 1
Choice 2
Choice 3
13.11 AastraIPPhoneTextScreen()
This class allows you to create a XML TextScreen object.
Include
AastraIPPhoneTextScreen.class.php
Methods
setTitle(title) to setup the title of an object (optional)
o title string
setTopTitle(title,color,icon_index) to set the Top Title of the XML screen (6739i only)
o title string
o color string, "red", "blue", ... (optional)
o icon_index integer, icon number
setCancelAction(uri) to set the cancel parameter with the URI to be called on Cancel
(optional)