Docs
Addons
Community
News
Documentation
/
API
BearFramework\Addons::register
Registers an addon.
public static
bool register
(
string $id
,
string $dir
[, array
$options
= [] ] )
Parameters
id
The id of the addon.
dir
The directory where the addon files are located.
options
The addon options. Available values: - require - An array containing the ids of addons that must be added before this one.
Returns
TRUE if successfully registered. FALSE otherwise.
Details
BearFramework\Addons
Location: ~/src/Addons.php
back to index
The information on this page is created for version 1.1 of Bear Framework and may not be applicable for other versions of the framework.