BMO Built-In Classes 12+

Usage

All classes can be called with the quick constructor. This is a non destructive constructor.

FreePBX::<class>-><method>

Example:

FreePBX::Config->get('AMPWEBROOT');

Inside a BMO class

public function __construct($freepbx){     $this->FreePBX = $freepbx;     } public function exampleMethod(){     $data = $this->FreePBX->Module->method(); }

Single Call outside of a BMO class

Multiple calls outside of a BMO class


Core Classes

 

Return to Documentation Home I Return to Sangoma Support