Specifications
Aastra July 2014 PA-001011-03-04
276
setDoneAction(uri) to set the URI to be called when the user selects the default "Done" key
(optional)
o uri string
setImageAction(uri) to set the imageAction parameter with the URI to be called when user
presses on the displayed image (optional, 6739i only)
o uri string
Example
require_once('AastraIPPhoneImageMenu.class.php');
$imagem = new AastraIPPhoneImageMenu();
$imagem->setDestroyOnExit();
$imagem->setSize(40,144);
$imagem-
>setImage('fffffffc02fffffffee4ffffbfffc05fffe7ff7a7ffffffffeffeebd
7fffffea6bcfffffe796f3feff6fa289f0a86f4866fa20df42414595dd0134f8037
ed1637f0e2522b2dd003b6eb936f05fffbd4f4107bba6eb0080e93715000010b754
001281271408c640252081b1b22500013c5c66201368004e04467520dc11067152b
82094d418e100247205805494780105002601530020131400020a05c91088b002b0
8c21c0000c200000001fe800000000000000001c000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000020041000004008300000ff085000000
00c9000000007100000000000000014014000001401400000140140000014014000
00140140000000000000007c0ff00000c30880000081088000008108800000c3070
0000062000000000003f000001e02000000330200000021000000003301e000001e
0330000000021000003f033000002001e0000020000000000001e000c03fc33003c
013021007c02101201f00330ff03f001e000039000003e039001e00103f00330010
1f8021003007c03303f003c01e000000c00001e001c03f033007802002100f00200
2103e000001203c401702003cc0290ff039c02902101fc02b000007c03f01a003c0
20039018c0ff02d03c402102703c400001203ec01e000026402b000026402900002
6c029000027c01a0000338000000033800000003100000000300000000030003f00
003fc03000003fc02000003fc020000030001f0000300000000030001e000030002
b000030002900003fc02900003fc01a00003f00000000310030000031c01e000031
f003000033f81e00003f383000001e081e000008c003000003c01e00000fc030000
01f000000003d001a0000390039000039002d00003f002700000f8012000007c000
000001c0000000004000000000000000000000000000');
$imagem->addURI('1','http://myserver.com?choice=1');
$imagem->addURI('2','http://myserver.com?Choice=2');
$imagem->addSoftkey('1', 'Label',
'http://myserver.com/script.php?action=1','1');
$imagem->addSoftkey('6', 'Exit', 'SoftKey:Exit');
$imagem->addIcon('1', 'Icon:Envelope');
$imagem->addIcon('2', 'FFFF0000FFFF0000');
$imagem->output();