Changeset 6519

Show
Ignore:
Timestamp:
08/31/08 15:40:00 (3 months ago)
Author:
p_lindheimer
Message:

re #3131 add Mixmonitor and Stopmonitor to extension class

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.5/amp_conf/htdocs/admin/extensions.class.php

    r6314 r6519  
    11831183} 
    11841184 
     1185class ext_mixmonitor extends extension { 
     1186        var $file; 
     1187        var $options; 
     1188        var $postcommand; 
     1189         
     1190        function ext_mixmonitor($file, $options = "", $postcommand = "") { 
     1191                $this->file = $file; 
     1192                $this->options = $options; 
     1193                $this->postcommand = $postcommand; 
     1194        } 
     1195         
     1196        function output() { 
     1197                return "MixMonitor(".$this->file.",".$this->options.",".$this->postcommand.")"; 
     1198        } 
     1199} 
     1200 
     1201class ext_stopmonitor extends extension { 
     1202        function output() { 
     1203                return "StopMonitor(".$this->data.")"; 
     1204        } 
     1205} 
     1206 
     1207 
    11851208 
    11861209/* example usage 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads