FreePBX Helper

<?php use BMO; use FreePBX_Helpers; class Foo extends FreePBX_Helpers implements BMO{     public function bar(){         return 'bar';     }     public function baz(){         return 'baz';     } }

FreePBX_Helper provides

Additional Variables

You should not add a __construct method when extending FreePBX_Helpers

Variable

Description

Variable

Description

$this->db;

PDO with MySQL/MariaDB Database

$this->FreePBX

FreePBX BMO object

 

Return to Documentation Home I Return to Sangoma Support