PHP Класс ForkCMS\Bundle\InstallerBundle\Entity\InstallationData

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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?

Открытые методы

Метод Описание
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?.

Описание методов

addModule() публичный Метод

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

getDbDatabase() публичный Метод

Gets the The database name.
public getDbDatabase ( ) : string
Результат string

getDbHostname() публичный Метод

Gets the The host of the database.
public getDbHostname ( ) : string
Результат string

getDbPassword() публичный Метод

Gets the The password for the database.
public getDbPassword ( ) : string
Результат string

getDbPort() публичный Метод

Gets the The port for the database.
public getDbPort ( ) : integer
Результат integer

getDbUsername() публичный Метод

Gets the The username for the database.
public getDbUsername ( ) : string
Результат string

getDebugEmail() публичный Метод

Gets the The custom debug emailaddress, if applicable.
public getDebugEmail ( ) : string
Результат string

getDefaultInterfaceLanguage() публичный Метод

Gets the The default language for the Fork backend.
public getDefaultInterfaceLanguage ( ) : string
Результат string

getDefaultLanguage() публичный Метод

Gets the The default language for this Fork installation.
public getDefaultLanguage ( ) : string
Результат string

getEmail() публичный Метод

Gets the The backend login email for the GOD user.
public getEmail ( ) : string
Результат string

getInterfaceLanguage() публичный Метод

Helper method, only needed for the languages form
public getInterfaceLanguage ( ) : string
Результат string

getInterfaceLanguages() публичный Метод

Gets the The backend interface languages to install for Fork.
public getInterfaceLanguages ( ) : array
Результат array

getLanguageType() публичный Метод

Gets the The type of language setup: single or multiple.
public getLanguageType ( ) : string
Результат string

getLanguages() публичный Метод

Gets the The languages to install Fork in.
public getLanguages ( ) : array
Результат array

getModules() публичный Метод

Gets the The modules to install Fork in.
public getModules ( ) : array
Результат array

getPassword() публичный Метод

Gets the The backend password for the GOD user.
public getPassword ( ) : string
Результат string

getSameInterfaceLanguage() публичный Метод

Gets the Do we use the same languages for the backend or not?.
public getSameInterfaceLanguage ( ) : boolean
Результат boolean

hasDifferentDebugEmail() публичный Метод

Gets the Do we use a different debug emailaddress.
public hasDifferentDebugEmail ( ) : boolean
Результат boolean

hasExampleData() публичный Метод

Gets the do we install exampleData?.
public hasExampleData ( ) : boolean
Результат boolean

isValid() публичный Метод

Checks if all data needed for installation is available here
public isValid ( ) : boolean
Результат boolean

removeModule() публичный Метод

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

setDbDatabase() публичный Метод

Sets the The database name.
public setDbDatabase ( string $dbDatabase ) : self
$dbDatabase string the db database
Результат self

setDbHostname() публичный Метод

Sets the The host of the database.
public setDbHostname ( string $dbHostname ) : self
$dbHostname string the db hostname
Результат self

setDbPassword() публичный Метод

Sets the The password for the database.
public setDbPassword ( string $dbPassword ) : self
$dbPassword string the db password
Результат self

setDbPort() публичный Метод

Sets the The port for the database.
public setDbPort ( integer $dbPort ) : self
$dbPort integer the db port
Результат self

setDbUsername() публичный Метод

Sets the The username for the database.
public setDbUsername ( string $dbUsername ) : self
$dbUsername string the db username
Результат self

setDebugEmail() публичный Метод

Sets the The custom debug emailaddress, if applicable.
public setDebugEmail ( string $debugEmail ) : self
$debugEmail string the debug email
Результат self

setDefaultInterfaceLanguage() публичный Метод

Sets the The default language for the Fork backend.
public setDefaultInterfaceLanguage ( string $defaultInterfaceLanguage ) : self
$defaultInterfaceLanguage string the default interface language
Результат self

setDefaultLanguage() публичный Метод

Sets the The default language for this Fork installation.
public setDefaultLanguage ( string $defaultLanguage ) : self
$defaultLanguage string the default language
Результат self

setDifferentDebugEmail() публичный Метод

Sets the Do we use a different debug emailaddress.
public setDifferentDebugEmail ( boolean $differentDebugEmail ) : self
$differentDebugEmail boolean the different debug email
Результат self

setEmail() публичный Метод

Sets the The backend login email for the GOD user.
public setEmail ( string $email ) : self
$email string the email
Результат self

setExampleData() публичный Метод

Sets the do we install exampleData?.
public setExampleData ( boolean $exampleData ) : self
$exampleData boolean the example data
Результат self

setInterfaceLanguages() публичный Метод

Sets the The backend interface languages to install for Fork.
public setInterfaceLanguages ( array $interfaceLanguages ) : self
$interfaceLanguages array the interface languages
Результат self

setLanguageType() публичный Метод

Sets the The type of language setup: single or multiple.
public setLanguageType ( string $languageType ) : self
$languageType string the language type
Результат self

setLanguages() публичный Метод

Sets the The languages to install Fork in.
public setLanguages ( array $languages ) : self
$languages array the languages
Результат self

setModules() публичный Метод

Sets the The modules to install Fork in.
public setModules ( array $modules ) : self
$modules array the modules
Результат self

setPassword() публичный Метод

Sets the The backend password for the GOD user.
public setPassword ( string $password ) : self
$password string the password
Результат self

setSameInterfaceLanguage() публичный Метод

Sets the Do we use the same languages for the backend or not?.
public setSameInterfaceLanguage ( boolean $sameInterfaceLanguage ) : self
$sameInterfaceLanguage boolean the same interface language
Результат self

Описание свойств

$dbDatabase защищенное свойство

The database name
protected string $dbDatabase
Результат string

$dbHostname защищенное свойство

The host of the database
protected string $dbHostname
Результат string

$dbPassword защищенное свойство

The password for the database
protected string $dbPassword
Результат string

$dbPort защищенное свойство

The port for the database
protected int $dbPort
Результат integer

$dbUsername защищенное свойство

The username for the database
protected string $dbUsername
Результат string

$debugEmail защищенное свойство

The custom debug emailaddress, if applicable
protected string $debugEmail
Результат string

$defaultInterfaceLanguage защищенное свойство

The default language for the Fork backend
protected string $defaultInterfaceLanguage
Результат string

$defaultLanguage защищенное свойство

The default language for this Fork installation
protected string $defaultLanguage
Результат string

$differentDebugEmail защищенное свойство

Do we use a different debug emailaddress
protected bool $differentDebugEmail
Результат boolean

$email защищенное свойство

The backend login email for the GOD user
protected string $email
Результат string

$exampleData защищенное свойство

do we install exampleData?
protected bool $exampleData
Результат boolean

$interfaceLanguages защищенное свойство

The backend interface languages to install for Fork
protected array $interfaceLanguages
Результат array

$languageType защищенное свойство

The type of language setup: single or multiple
protected string $languageType
Результат string

$languages защищенное свойство

The languages to install Fork in
protected array $languages
Результат array

$modules защищенное свойство

The modules to install Fork in
protected array $modules
Результат array

$password защищенное свойство

The backend password for the GOD user
protected string $password
Результат string

$sameInterfaceLanguage защищенное свойство

Do we use the same languages for the backend or not?
protected bool $sameInterfaceLanguage
Результат boolean