Page tree
Skip to end of metadata
Go to start of metadata
<?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

VariableDescription
$this->db;PDO with MySQL/MariaDB Database
$this->FreePBXFreePBX BMO object


  • No labels