FreeMED Opensource EMR/PM Software |
FreeMED. ExternalPluginAllows for CLI plugins to extend FreeMED functionality Summary
$path
Holds the location of the plugins to be “scanned”. Assigned by the ExternalPlugin constructor. $cache
Fully qualified path to plugin cache. Assigned by the ExternalPlugin constructor. |
Holds the location of the plugins to be “scanned”.
var $path
Fully qualified path to plugin cache.
var $cache
Internal storage of plugins’ metainformation.
var $plugin_cache
function ExternalPlugin ( $path )
Get associative array of available plugins with metainformation
function GetCatalog ( )
Produce a picklist for a select widget of the available plugins, derived from the cache.
function GetPicklist ( $format = '##NAME##' )
Resolve plugin from UUID
function UUIDToPlugin ( $uuid )
Perform plugin caching operation if necessary.
function Cache ( )
Determine if plugin cache is up-to-date
function IsCached ( )
Pass an arbitrary command to a plugin and return its results.
function Command ( $plugin, $command )
Parse the results of a module INFO query.
function ParseInfo ( $info )