SetupService

Service class helping to manage parts of the setup process (set configuration, create backend user, create a basic site)

Internal

This class is only meant to be used within EXT:install and is not part of the TYPO3 Core API.

Table of Contents

Methods

__construct()  : mixed
createDirectoryStructure()  : array<string|int, FlashMessage>
createSite()  : string
createSiteConfiguration()  : mixed
Creates a site configuration with one language "English" which is the de-facto default language for TYPO3 in general.
createUser()  : void
Create a backend user with maintainer and admin flag set by default, because the initial user always requires these flags to grant full permissions to the system.
prepareSystemSettings()  : void
setInstallToolPassword()  : bool
setSiteName()  : bool

Methods

createSite()

public createSite() : string
Return values
string

createSiteConfiguration()

Creates a site configuration with one language "English" which is the de-facto default language for TYPO3 in general.

public createSiteConfiguration(string $identifier, int $rootPageId, string $siteUrl) : mixed
Parameters
$identifier : string
$rootPageId : int
$siteUrl : string
Tags
throws
SiteConfigurationWriteException

createUser()

Create a backend user with maintainer and admin flag set by default, because the initial user always requires these flags to grant full permissions to the system.

public createUser(string $username, string $password[, string $email = '' ]) : void
Parameters
$username : string
$password : string
$email : string = ''

setInstallToolPassword()

public setInstallToolPassword(string $password) : bool
Parameters
$password : string
Return values
bool

setSiteName()

public setSiteName(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results