function brightcove_autoload in Brightcove Video Connect 6
Same name and namespace in other branches
- 6.2 brightcove.module \brightcove_autoload()
Autoload the BCMAPI class when needed.
1 string reference to 'brightcove_autoload'
File
- ./
brightcove.module, line 61 - Brightcove module is an integration layer between any modules using Brightcove API. It makes all necessary checks for the API and makes settings available to the user.
Code
function brightcove_autoload($class_name) {
if (in_array($class_name, array(
'BCMAPI',
'BCMAPIException',
))) {
include_once brightcove_mapi_path() . '/bc-mapi.php';
}
}