コード例 #1
0
 public function __construct($freepbx = null)
 {
     parent::__construct($freepbx);
     //other options
     $this->database = $freepbx->Database;
     $this->config = $freepbx->Config;
     $this->freepbx = $freepbx;
     $this->astman = $freepbx->astman;
     //load drivers
     $this->loadDrivers();
 }
コード例 #2
0
ファイル: Core.class.php プロジェクト: umjinsun12/dngshin
 public function __construct($freepbx = null)
 {
     parent::__construct($freepbx);
     //Hackery-Jackery for Core only really
     if (!class_exists('PJSip') && file_exists(__DIR__ . '/functions.inc/PJSip.class.php')) {
         include __DIR__ . '/functions.inc/PJSip.class.php';
         //Think about using BMO Inject here instead
         $this->FreePBX->PJSip = new \FreePBX\modules\Core\PJSip($this->FreePBX);
     }
     $this->database = $freepbx->Database;
     $this->config = $freepbx->Config;
 }
コード例 #3
0
 public function __construct($freepbx = null)
 {
     parent::__construct($freepbx);
     $this->freepbx = $freepbx;
     $this->db = $this->freepbx->Database;
 }
コード例 #4
0
ファイル: PJSip.class.php プロジェクト: umjinsun12/dngshin
 public function __construct($freepbx)
 {
     parent::__construct($freepbx);
     $this->db = $freepbx->Database;
     $this->version = $freepbx->Config->get('ASTVERSION');
 }