Contains all information required for plugin_search, may also contain the information now used by metadata.php? More...
Public Member Functions | |
__construct ($metafile=false) | |
Construct either a blank plugin or takes the path to a metadata file and parses it to populate the plugin information. | |
Static Public Member Functions | |
static | load_plugin_data () |
Will populate static members of the Plugin class with all paths to plugins, metadata and custom plugins. | |
static | load_config_commands () |
Loads configured commands from the database, not used in plugin search but can be used instead of metadata.php to diff configured commands vs. | |
Static Public Attributes | |
static | $PLUGIN_DIR_GLOB = "/opt/plugins/*" |
The glob used to find all plugins. | |
static | $METADATA_DIR_GLOB = "/opt/plugins/metadata/*.metadata" |
The glob used to find all metadata files. | |
static | $PLUGIN_CUSTOM_DIR_GLOB = "/opt/plugins/custom/*" |
The glob used to find all custom plugins. | |
static | $COMMAND_URL = "edit.php?obj_type=command&master_obj_id=®exp1=Filter+by+regular+expression&obj_id=%s&action=Go&action_dummy=Go" |
The URL to edit a command (sprintf the command name). | |
static | $METADATA = false |
Used as a container for all found metadata paths. | |
static | $PLUGINS = false |
Used as a container for all found plugin paths. | |
static | $CUSTOMS = false |
Used as a container for all found custom plugin paths. |
Contains all information required for plugin_search, may also contain the information now used by metadata.php?
static Plugin::load_config_commands | ( | ) | [static] |
Loads configured commands from the database, not used in plugin search but can be used instead of metadata.php to diff configured commands vs.
metadata commands