|
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. | |
| registerWebUpgradeTasks (TaskList $list) | |
Public Attributes | |
| const | PROFILE_ADD_WIKI = 'installPreConfigured' |
| const | PROFILE_INSTALLER = 'installer' |
| const | PROFILE_WEB_UPGRADE = 'web-upgrade' |
Factory for installer tasks.
Definition at line 12 of file TaskFactory.php.
| MediaWiki\Installer\Task\TaskFactory::__construct | ( | ObjectFactory | $objectFactory, |
| ITaskContext | $context ) |
Definition at line 55 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 128 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 78 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 67 of file TaskFactory.php.
| MediaWiki\Installer\Task\TaskFactory::registerWebUpgradeTasks | ( | TaskList | $list | ) |
Definition at line 86 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.
| const MediaWiki\Installer\Task\TaskFactory::PROFILE_WEB_UPGRADE = 'web-upgrade' |
Definition at line 15 of file TaskFactory.php.