Changeset 5177

Show
Ignore:
Timestamp:
10/29/07 17:25:19 (1 year ago)
Author:
p_lindheimer
Message:

add ExecIf? to extensions class

Files:

Legend:

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

    r5076 r5177  
    549549} 
    550550 
     551class ext_execif { 
     552        var $expr; 
     553        var $app; 
     554        var $data; 
     555         
     556        function ext_execif($expr, $app, $data='') { 
     557                $this->expr = $expr; 
     558                $this->app = $app; 
     559                $this->data = $data; 
     560        } 
     561         
     562        function output() { 
     563                return "ExecIf(".$this->expr.",".$this->app.",".$this->data.")"; 
     564        } 
     565} 
     566 
    551567class ext_setcidname extends extension { 
    552568        function output() {