29 lines
700 B
PHP
29 lines
700 B
PHP
<?php
|
|
################################################################################
|
|
# Aastra XML API Classes - AastraIPPhoneImageMenuEntry
|
|
# Firmware 2.0 or better
|
|
# Copyright Mitel Networks 2005-2015
|
|
#
|
|
# Internal class for AastraIPPhoneImageMenu object.
|
|
################################################################################
|
|
|
|
class AastraIPPhoneImageMenuEntry extends AastraIPPhone {
|
|
var $_key;
|
|
var $_uri;
|
|
|
|
function AastraIPPhoneImageMenuEntry($key, $uri)
|
|
{
|
|
$this->_key=$key;
|
|
$this->_uri=$uri;
|
|
}
|
|
|
|
function render()
|
|
{
|
|
$key = $this->_key;
|
|
$uri = $this->escape($this->_uri);
|
|
$xml = "<URI key=\"{$key}\">{$uri}</URI>\n";
|
|
return($xml);
|
|
}
|
|
}
|
|
?>
|