Changeset 5994
- Timestamp:
- 07/13/08 17:43:54 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/extensions.class.php
r5739 r5994 125 125 * problems that array_splice has with multidmentional arrays 126 126 */ 127 $array = $this->_exts[$section][$extension];127 $array = isset($this->_exts[$section][$extension]) ? $this->_exts[$section][$extension] : array(); 128 128 $ky = $priority; 129 129 $val = $newcommand; … … 794 794 $this->options = $options; 795 795 } 796 797 796 function output() { 798 797 return "Authenticate(".$this->pass.",".$this->options.")"; 799 798 } 800 799 } 800 801 class ext_vmauthenticate { 802 var $mailbox; 803 var $context; 804 var $options; 805 806 function ext_vmauthenticate($mailbox='', $options='') { 807 $this->mailbox = $mailbox; 808 $this->options = $options; 809 } 810 function output() { 811 return "VMAuthenticate(" .$this->mailbox . (($this->options != '') ? ','.$this->options : '' ) .")"; 812 } 813 } 801 814 802 815 class ext_page extends extension {
