ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct (Refinery $refinery, Data\Factory $data_factory, \ilSetupLanguage $lng, ImplementationOfInterfaceFinder $interface_finder, \ilPluginRawReader $plugin_raw_reader, array $predefined_agents=[]) | |
getAgents () | |
Collect all agents from the system, core and plugin, bundled in a collection. More... | |
getCoreAgents () | |
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 Attributes | |
$refinery | |
$data_factory | |
$lng | |
$plugin_raw_reader | |
$interface_finder | |
$predefined_agents | |
Definition at line 12 of file ImplementationOfAgentFinder.php.
ILIAS\Setup\ImplementationOfAgentFinder::__construct | ( | Refinery | $refinery, |
Data\Factory | $data_factory, | ||
\ilSetupLanguage | $lng, | ||
ImplementationOfInterfaceFinder | $interface_finder, | ||
\ilPluginRawReader | $plugin_raw_reader, | ||
array | $predefined_agents = [] |
||
) |
Definition at line 47 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\$data_factory, ILIAS\Setup\ImplementationOfAgentFinder\$interface_finder, ILIAS\Setup\ImplementationOfAgentFinder\$lng, ILIAS\Setup\ImplementationOfAgentFinder\$plugin_raw_reader, ILIAS\Setup\ImplementationOfAgentFinder\$predefined_agents, and ILIAS\Setup\ImplementationOfAgentFinder\$refinery.
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 |
Implements ILIAS\Setup\AgentFinder.
Definition at line 166 of file ImplementationOfAgentFinder.php.
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 182 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getCoreAgents().
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 68 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\getCoreAgents(), and ILIAS\Setup\ImplementationOfAgentFinder\getPluginAgent().
ILIAS\Setup\ImplementationOfAgentFinder::getCoreAgents | ( | ) |
Collect core agents from the system bundled in a collection.
Implements ILIAS\Setup\AgentFinder.
Definition at line 89 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\getAgentNameByClassName().
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
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 124 of file ImplementationOfAgentFinder.php.
References $name.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
|
protected |
Definition at line 22 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 37 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 27 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 32 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 42 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 17 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().