You are here

protected function crumbs_PluginOperation_describe::_addDescription in Crumbs, the Breadcrumbs suite 7.2

Parameters

string $key:

string $description:

3 calls to crumbs_PluginOperation_describe::_addDescription()
crumbs_PluginOperation_describe::addDescription in lib/PluginOperation/describe.php
Add a description at an arbitrary wildcard key. To be called from crumbs_InjectedAPI_describeMultiPlugin::addDescription()
crumbs_PluginOperation_describe::addRule in lib/PluginOperation/describe.php
To be called from crumbs_InjectedAPI_describeMultiPlugin::addRule()
crumbs_PluginOperation_describe::setTitle in lib/PluginOperation/describe.php
To be called from crumbs_InjectedAPI_describeMonoPlugin::setTitle()

File

lib/PluginOperation/describe.php, line 112

Class

crumbs_PluginOperation_describe
This class uses the PluginOperation pattern, but it does not implement any of the PluginOperation interfaces. This is because it is not supposed to be used with the PluginEngine, but rather from a custom function (see above).

Code

protected function _addDescription($key, $description) {
  $this->descriptions[$key][] = $description;
}