Definition at line 19 of file ElggPluginPackage.php.
◆ __construct()
ElggPluginPackage::__construct |
( |
|
$plugin, |
|
|
|
$validate = true |
|
) |
| |
Load a plugin package from mod/$id or by full path.
- Parameters
-
string | $plugin | The ID (directory name) or full path of the plugin. |
bool | $validate | Automatically run isValid()? |
- Exceptions
-
Definition at line 100 of file ElggPluginPackage.php.
◆ checkDependencies()
ElggPluginPackage::checkDependencies |
( |
|
$full_report = false | ) |
|
Returns if the Elgg system meets the plugin's dependency requirements.
This includes both requires and conflicts.
Full reports can be requested. The results are returned as an array of arrays in the form array( 'type' => requires|conflicts, 'dep' => array( dependency array ), 'status' => bool if depedency is met, 'comment' => optional comment to display to the user. )
- Parameters
-
bool | $full_report | Return a full report. |
- Returns
- bool|array
Definition at line 355 of file ElggPluginPackage.php.
◆ getError()
ElggPluginPackage::getError |
( |
| ) |
|
◆ getID()
ElggPluginPackage::getID |
( |
| ) |
|
◆ getManifest()
ElggPluginPackage::getManifest |
( |
| ) |
|
◆ getTextFilenames()
ElggPluginPackage::getTextFilenames |
( |
| ) |
|
◆ isValid()
ElggPluginPackage::isValid |
( |
| ) |
|
◆ $id
◆ $manifest
ElggPluginPackage::$manifest |
|
protected |
◆ $path
◆ $valid
ElggPluginPackage::$valid = null |
|
protected |
The documentation for this class was generated from the following file: