PHP Class ForkCMS\Bundle\InstallerBundle\Entity\InstallationData

Mostra file Open project: forkcms/forkcms Class Usage Examples

Protected Properties

Property Type Description
$dbDatabase string The database name
$dbHostname string The host of the database
$dbPassword string The password for the database
$dbPort integer The port for the database
$dbUsername string The username for the database
$debugEmail string The custom debug emailaddress, if applicable
$defaultInterfaceLanguage string The default language for the Fork backend
$defaultLanguage string The default language for this Fork installation
$differentDebugEmail boolean Do we use a different debug emailaddress
$email string The backend login email for the GOD user
$exampleData boolean do we install exampleData?
$interfaceLanguages array The backend interface languages to install for Fork
$languageType string The type of language setup: single or multiple
$languages array The languages to install Fork in
$modules array The modules to install Fork in
$password string The backend password for the GOD user
$sameInterfaceLanguage boolean Do we use the same languages for the backend or not?

Public Methods

Method Description
addModule ( string $module ) Adds a module to the modules array
getDbDatabase ( ) : string Gets the The database name.
getDbHostname ( ) : string Gets the The host of the database.
getDbPassword ( ) : string Gets the The password for the database.
getDbPort ( ) : integer Gets the The port for the database.
getDbUsername ( ) : string Gets the The username for the database.
getDebugEmail ( ) : string Gets the The custom debug emailaddress, if applicable.
getDefaultInterfaceLanguage ( ) : string Gets the The default language for the Fork backend.
getDefaultLanguage ( ) : string Gets the The default language for this Fork installation.
getEmail ( ) : string Gets the The backend login email for the GOD user.
getInterfaceLanguage ( ) : string Helper method, only needed for the languages form
getInterfaceLanguages ( ) : array Gets the The backend interface languages to install for Fork.
getLanguageType ( ) : string Gets the The type of language setup: single or multiple.
getLanguages ( ) : array Gets the The languages to install Fork in.
getModules ( ) : array Gets the The modules to install Fork in.
getPassword ( ) : string Gets the The backend password for the GOD user.
getSameInterfaceLanguage ( ) : boolean Gets the Do we use the same languages for the backend or not?.
hasDifferentDebugEmail ( ) : boolean Gets the Do we use a different debug emailaddress.
hasExampleData ( ) : boolean Gets the do we install exampleData?.
isValid ( ) : boolean Checks if all data needed for installation is available here
removeModule ( string $module ) Removes an item from the modules array
setDbDatabase ( string $dbDatabase ) : self Sets the The database name.
setDbHostname ( string $dbHostname ) : self Sets the The host of the database.
setDbPassword ( string $dbPassword ) : self Sets the The password for the database.
setDbPort ( integer $dbPort ) : self Sets the The port for the database.
setDbUsername ( string $dbUsername ) : self Sets the The username for the database.
setDebugEmail ( string $debugEmail ) : self Sets the The custom debug emailaddress, if applicable.
setDefaultInterfaceLanguage ( string $defaultInterfaceLanguage ) : self Sets the The default language for the Fork backend.
setDefaultLanguage ( string $defaultLanguage ) : self Sets the The default language for this Fork installation.
setDifferentDebugEmail ( boolean $differentDebugEmail ) : self Sets the Do we use a different debug emailaddress.
setEmail ( string $email ) : self Sets the The backend login email for the GOD user.
setExampleData ( boolean $exampleData ) : self Sets the do we install exampleData?.
setInterfaceLanguages ( array $interfaceLanguages ) : self Sets the The backend interface languages to install for Fork.
setLanguageType ( string $languageType ) : self Sets the The type of language setup: single or multiple.
setLanguages ( array $languages ) : self Sets the The languages to install Fork in.
setModules ( array $modules ) : self Sets the The modules to install Fork in.
setPassword ( string $password ) : self Sets the The backend password for the GOD user.
setSameInterfaceLanguage ( boolean $sameInterfaceLanguage ) : self Sets the Do we use the same languages for the backend or not?.

Method Details

addModule() public method

Adds a module to the modules array
public addModule ( string $module )
$module string

getDbDatabase() public method

Gets the The database name.
public getDbDatabase ( ) : string
return string

getDbHostname() public method

Gets the The host of the database.
public getDbHostname ( ) : string
return string

getDbPassword() public method

Gets the The password for the database.
public getDbPassword ( ) : string
return string

getDbPort() public method

Gets the The port for the database.
public getDbPort ( ) : integer
return integer

getDbUsername() public method

Gets the The username for the database.
public getDbUsername ( ) : string
return string

getDebugEmail() public method

Gets the The custom debug emailaddress, if applicable.
public getDebugEmail ( ) : string
return string

getDefaultInterfaceLanguage() public method

Gets the The default language for the Fork backend.

getDefaultLanguage() public method

Gets the The default language for this Fork installation.
public getDefaultLanguage ( ) : string
return string

getEmail() public method

Gets the The backend login email for the GOD user.
public getEmail ( ) : string
return string

getInterfaceLanguage() public method

Helper method, only needed for the languages form
public getInterfaceLanguage ( ) : string
return string

getInterfaceLanguages() public method

Gets the The backend interface languages to install for Fork.
public getInterfaceLanguages ( ) : array
return array

getLanguageType() public method

Gets the The type of language setup: single or multiple.
public getLanguageType ( ) : string
return string

getLanguages() public method

Gets the The languages to install Fork in.
public getLanguages ( ) : array
return array

getModules() public method

Gets the The modules to install Fork in.
public getModules ( ) : array
return array

getPassword() public method

Gets the The backend password for the GOD user.
public getPassword ( ) : string
return string

getSameInterfaceLanguage() public method

Gets the Do we use the same languages for the backend or not?.

hasDifferentDebugEmail() public method

Gets the Do we use a different debug emailaddress.
public hasDifferentDebugEmail ( ) : boolean
return boolean

hasExampleData() public method

Gets the do we install exampleData?.
public hasExampleData ( ) : boolean
return boolean

isValid() public method

Checks if all data needed for installation is available here
public isValid ( ) : boolean
return boolean

removeModule() public method

Removes an item from the modules array
public removeModule ( string $module )
$module string

setDbDatabase() public method

Sets the The database name.
public setDbDatabase ( string $dbDatabase ) : self
$dbDatabase string the db database
return self

setDbHostname() public method

Sets the The host of the database.
public setDbHostname ( string $dbHostname ) : self
$dbHostname string the db hostname
return self

setDbPassword() public method

Sets the The password for the database.
public setDbPassword ( string $dbPassword ) : self
$dbPassword string the db password
return self

setDbPort() public method

Sets the The port for the database.
public setDbPort ( integer $dbPort ) : self
$dbPort integer the db port
return self

setDbUsername() public method

Sets the The username for the database.
public setDbUsername ( string $dbUsername ) : self
$dbUsername string the db username
return self

setDebugEmail() public method

Sets the The custom debug emailaddress, if applicable.
public setDebugEmail ( string $debugEmail ) : self
$debugEmail string the debug email
return self

setDefaultInterfaceLanguage() public method

Sets the The default language for the Fork backend.
public setDefaultInterfaceLanguage ( string $defaultInterfaceLanguage ) : self
$defaultInterfaceLanguage string the default interface language
return self

setDefaultLanguage() public method

Sets the The default language for this Fork installation.
public setDefaultLanguage ( string $defaultLanguage ) : self
$defaultLanguage string the default language
return self

setDifferentDebugEmail() public method

Sets the Do we use a different debug emailaddress.
public setDifferentDebugEmail ( boolean $differentDebugEmail ) : self
$differentDebugEmail boolean the different debug email
return self

setEmail() public method

Sets the The backend login email for the GOD user.
public setEmail ( string $email ) : self
$email string the email
return self

setExampleData() public method

Sets the do we install exampleData?.
public setExampleData ( boolean $exampleData ) : self
$exampleData boolean the example data
return self

setInterfaceLanguages() public method

Sets the The backend interface languages to install for Fork.
public setInterfaceLanguages ( array $interfaceLanguages ) : self
$interfaceLanguages array the interface languages
return self

setLanguageType() public method

Sets the The type of language setup: single or multiple.
public setLanguageType ( string $languageType ) : self
$languageType string the language type
return self

setLanguages() public method

Sets the The languages to install Fork in.
public setLanguages ( array $languages ) : self
$languages array the languages
return self

setModules() public method

Sets the The modules to install Fork in.
public setModules ( array $modules ) : self
$modules array the modules
return self

setPassword() public method

Sets the The backend password for the GOD user.
public setPassword ( string $password ) : self
$password string the password
return self

setSameInterfaceLanguage() public method

Sets the Do we use the same languages for the backend or not?.
public setSameInterfaceLanguage ( boolean $sameInterfaceLanguage ) : self
$sameInterfaceLanguage boolean the same interface language
return self

Property Details

$dbDatabase protected_oe property

The database name
protected string $dbDatabase
return string

$dbHostname protected_oe property

The host of the database
protected string $dbHostname
return string

$dbPassword protected_oe property

The password for the database
protected string $dbPassword
return string

$dbPort protected_oe property

The port for the database
protected int $dbPort
return integer

$dbUsername protected_oe property

The username for the database
protected string $dbUsername
return string

$debugEmail protected_oe property

The custom debug emailaddress, if applicable
protected string $debugEmail
return string

$defaultInterfaceLanguage protected_oe property

The default language for the Fork backend
protected string $defaultInterfaceLanguage
return string

$defaultLanguage protected_oe property

The default language for this Fork installation
protected string $defaultLanguage
return string

$differentDebugEmail protected_oe property

Do we use a different debug emailaddress
protected bool $differentDebugEmail
return boolean

$email protected_oe property

The backend login email for the GOD user
protected string $email
return string

$exampleData protected_oe property

do we install exampleData?
protected bool $exampleData
return boolean

$interfaceLanguages protected_oe property

The backend interface languages to install for Fork
protected array $interfaceLanguages
return array

$languageType protected_oe property

The type of language setup: single or multiple
protected string $languageType
return string

$languages protected_oe property

The languages to install Fork in
protected array $languages
return array

$modules protected_oe property

The modules to install Fork in
protected array $modules
return array

$password protected_oe property

The backend password for the GOD user
protected string $password
return string

$sameInterfaceLanguage protected_oe property

Do we use the same languages for the backend or not?
protected bool $sameInterfaceLanguage
return boolean