ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (Refinery $refinery, Data\Factory $data_factory, \ilSetupLanguage $lng, ImplementationOfInterfaceFinder $interface_finder, 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 Member Functions | |
getPluginNames () | |
Protected Attributes | |
Refinery | $refinery |
Data Factory | $data_factory |
ilSetupLanguage | $lng |
ImplementationOfInterfaceFinder | $interface_finder |
array | $predefined_agents |
Definition at line 26 of file ImplementationOfAgentFinder.php.
ILIAS\Setup\ImplementationOfAgentFinder::__construct | ( | Refinery | $refinery, |
Data\Factory | $data_factory, | ||
\ilSetupLanguage | $lng, | ||
ImplementationOfInterfaceFinder | $interface_finder, | ||
array | $predefined_agents = [] |
||
) |
Definition at line 38 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\$data_factory, ILIAS\Setup\ImplementationOfAgentFinder\$interface_finder, ILIAS\Setup\ImplementationOfAgentFinder\$lng, ILIAS\Setup\ImplementationOfAgentFinder\$predefined_agents, ILIAS\Setup\ImplementationOfAgentFinder\$refinery, ILIAS\Repository\lng(), and ILIAS\Repository\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 149 of file ImplementationOfAgentFinder.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
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 165 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 57 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\getCoreAgents(), ILIAS\Setup\ImplementationOfAgentFinder\getPluginAgent(), and ILIAS\Setup\ImplementationOfAgentFinder\getPluginNames().
ILIAS\Setup\ImplementationOfAgentFinder::getCoreAgents | ( | ) |
Collect core agents from the system bundled in a collection.
Implements ILIAS\Setup\AgentFinder.
Definition at line 78 of file ImplementationOfAgentFinder.php.
References ILIAS\Setup\ImplementationOfAgentFinder\getAgentNameByClassName(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
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 113 of file ImplementationOfAgentFinder.php.
References $name, $path, ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
|
protected |
Definition at line 179 of file ImplementationOfAgentFinder.php.
References $name.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\getAgents().
|
protected |
Definition at line 29 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 31 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 30 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 33 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().
|
protected |
Definition at line 28 of file ImplementationOfAgentFinder.php.
Referenced by ILIAS\Setup\ImplementationOfAgentFinder\__construct().