MediaWiki master
|
Factory for installer tasks. More...
Public Member Functions | |
__construct (ObjectFactory $objectFactory, ITaskContext $context) | |
create (array $spec) | |
Create a task object. | |
registerExtensionTasks (TaskList $list, string $profile) | |
Populate the task list with extension installer tasks provided by the current task context. | |
registerMainTasks (TaskList $list, string $profile) | |
Populate the task list with core installer tasks which are shared by the various installation methods. | |
Public Attributes | |
const | PROFILE_ADD_WIKI = 'installPreConfigured' |
const | PROFILE_INSTALLER = 'installer' |
Factory for installer tasks.
Definition at line 12 of file TaskFactory.php.
MediaWiki\Installer\Task\TaskFactory::__construct | ( | ObjectFactory | $objectFactory, |
ITaskContext | $context ) |
Definition at line 48 of file TaskFactory.php.
MediaWiki\Installer\Task\TaskFactory::create | ( | array | $spec | ) |
Create a task object.
array | $spec | Associative array of options. If "callback" is present, then the spec is a callback spec. Otherwise, the spec is an ObjectFactory spec and must contain "class" or "factory".
|
Definition at line 117 of file TaskFactory.php.
MediaWiki\Installer\Task\TaskFactory::registerExtensionTasks | ( | TaskList | $list, |
string | $profile ) |
Populate the task list with extension installer tasks provided by the current task context.
TaskList | $list | |
string | $profile | One of the PROFILE_xxx constants |
Definition at line 71 of file TaskFactory.php.
MediaWiki\Installer\Task\TaskFactory::registerMainTasks | ( | TaskList | $list, |
string | $profile ) |
Populate the task list with core installer tasks which are shared by the various installation methods.
TaskList | $list | |
string | $profile | One of the PROFILE_xxx constants |
Definition at line 60 of file TaskFactory.php.
const MediaWiki\Installer\Task\TaskFactory::PROFILE_ADD_WIKI = 'installPreConfigured' |
Definition at line 14 of file TaskFactory.php.
const MediaWiki\Installer\Task\TaskFactory::PROFILE_INSTALLER = 'installer' |
Definition at line 13 of file TaskFactory.php.
Referenced by MediaWiki\Installer\Installer\getTaskList(), and MediaWiki\Installer\Installer\performInstallation().