Specifications
PA-001011-03-04 Aastra July 2014
281
setNotEditable() to set the editable parameter to 'no', 'yes' by default (optional)
setEditable() is now replaced by setNotEditable but kept for compatibility reasons (optional)
setPrompt(prompt) to set the prompt to be displayed for the input.
o prompt string
Example
require_once('AastraIPPhoneInputScreen.class.php');
$input = new AastraIPPhoneInputScreen();
$input->setTitle('Title');
$input->setPrompt('Enter your password');
$input->setParameter('param');
$input->setType('string');
$input->setURL('http://myserver.com/script.php');
$input->setPassword();
$input->setDestroyOnExit();
$input->setDefault('Default');
$input->output();
Output
XML
Fri Nov 6
9:30am
Title
*******
Enter your password
q w e r t y u i o p
a s d f g h j k l .
z x c v b n m
CAPS
123 Cancel
Space
Enter
Bksp
Hide
13.8 AastraIPPhoneInputScreen() – Multiple Input fields
This class allows you to create a XML InputScreen object with multiple input fields.
Include
AastraIPPhoneInputScreen.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)