|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Setup\ImplementationOfAgentFinder:
Collaboration diagram for ILIAS\Setup\ImplementationOfAgentFinder:Public Member Functions | |
| __construct (protected Refinery $refinery, protected Data\Factory $data_factory, protected \ILIAS\Language\Language $lng, protected ImplementationOfInterfaceFinder $interface_finder, $component_agents) | |
| getAgents () | |
| Collect all agents from the system, core and plugin, bundled in a collection. More... | |
| getComponentAgents () | |
| Collect core agents from the system bundled in a collection. More... | |
| getPluginAgent (string $name) | |
| Get a agent from a specific plugin. More... | |
| getAgentByClassName (string $class_name) | |
| Get an agent by class name. More... | |
| getAgentNameByClassName (string $class_name) | |
| Derive a name for the agent based on a class name. More... | |
| getAgents () | |
| Collect all agents from the system, core and plugin, bundled in a collection. More... | |
| getComponentAgents () | |
| Collect core agents from the system bundled in a collection. More... | |
| getPluginAgent (string $name) | |
| Get a agent from a specific plugin. More... | |
| getAgentByClassName (string $class_name) | |
| Get an agent by class name. More... | |
| getAgentNameByClassName (string $class_name) | |
| Derive a name for the agent based on a class name. More... | |
Protected Member Functions | |
| getPluginNames () | |
Protected Attributes | |
| array AgentCollection | $component_agents |
Definition at line 26 of file ImplementationOfAgentFinder.php.
| ILIAS\Setup\ImplementationOfAgentFinder::__construct | ( | protected Refinery | $refinery, |
| protected Data\Factory | $data_factory, | ||
| protected \ILIAS\Language\Language | $lng, | ||
| protected ImplementationOfInterfaceFinder | $interface_finder, | ||
| $component_agents | |||
| ) |
Definition at line 30 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\$component_agents.
| ILIAS\Setup\ImplementationOfAgentFinder::getAgentByClassName | ( | string | $class_name | ) |
Get an agent by class name.
Throws an exception if the class doesn't exists.
| string | $class_name |
InvalidArgumentException
Implements ILIAS\Setup\AgentFinder.
Definition at line 129 of file ImplementationOfAgentFinder.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ILIAS\Setup\ImplementationOfAgentFinder::getAgentNameByClassName | ( | string | $class_name | ) |
Derive a name for the agent based on a class name.
Implements ILIAS\Setup\AgentFinder.
Definition at line 145 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getComponentAgents().
Here is the caller graph for this function:| ILIAS\Setup\ImplementationOfAgentFinder::getAgents | ( | ) |
Collect all agents from the system, core and plugin, bundled in a collection.
| string[] | $ignore | folders to be ignored. |
Implements ILIAS\Setup\AgentFinder.
Definition at line 45 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\getComponentAgents(), ILIAS\Setup\ImplementationOfAgentFinder\getPluginAgent(), and ILIAS\Setup\ImplementationOfAgentFinder\getPluginNames().
Here is the call graph for this function:| ILIAS\Setup\ImplementationOfAgentFinder::getComponentAgents | ( | ) |
Collect core agents from the system bundled in a collection.
Implements ILIAS\Setup\AgentFinder.
Definition at line 66 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\$component_agents, ILIAS\Setup\ImplementationOfAgentFinder\getAgentNameByClassName(), and ILIAS\Repository\refinery().
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Setup\ImplementationOfAgentFinder::getPluginAgent | ( | string | $name | ) |
Get a agent from a specific plugin.
If there is no plugin agent, this would the default agent. If the plugin contains multiple agents, these will be collected.
| string | $name | of the plugin to get the agent from |
Implements ILIAS\Setup\AgentFinder.
Definition at line 93 of file ImplementationOfAgentFinder.php.
References $path, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 159 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
Here is the caller graph for this function:
|
protected |
Definition at line 28 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct(), and ILIAS\Setup\ImplementationOfAgentFinder\getComponentAgents().