class TMGMTPluginBase in Translation Management Tool 7
Base class for Translation Management plugins.
Hierarchy
- class \TMGMTPluginBase implements TMGMTPluginBaseInterface
Expanded class hierarchy of TMGMTPluginBase
File
- plugin/
tmgmt.plugin.base.inc, line 11 - Contains the base plugin class.
View source
class TMGMTPluginBase implements TMGMTPluginBaseInterface {
protected $pluginType;
protected $pluginInfo;
/**
* {@inheritdoc}
*/
public function __construct($type, $plugin) {
$this->pluginType = $plugin;
$this->pluginInfo = _tmgmt_plugin_info($type, $plugin);
}
/**
* {@inheritdoc}
*/
public function pluginInfo() {
return $this->pluginInfo;
}
/**
* {@inheritdoc}
*/
public function pluginType() {
return $this->pluginType;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TMGMTPluginBase:: |
protected | property | ||
TMGMTPluginBase:: |
protected | property | ||
TMGMTPluginBase:: |
public | function |
Returns the info of the type of the plugin. Overrides TMGMTPluginBaseInterface:: |
|
TMGMTPluginBase:: |
public | function |
Returns the type of the plugin. Overrides TMGMTPluginBaseInterface:: |
|
TMGMTPluginBase:: |
public | function |
Constructor. Overrides TMGMTPluginBaseInterface:: |