PHP 클래스 ForkCMS\Bundle\InstallerBundle\Service\ForkInstaller

저자: Davy Hellemans ([email protected])
저자: Tijs Verkoyen ([email protected])
저자: Matthias Mullie ([email protected])
저자: Dieter Vanden Eynde ([email protected])
저자: Annelies Van Extergem ([email protected])
저자: Wouter Sioen ([email protected])
파일 보기 프로젝트 열기: forkcms/forkcms 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\DependencyInjection\Container $container, $rootDir )
getHiddenModules ( ) : string[] Fetches the hidden modules
getRequiredModules ( ) : string[] Fetches the required modules
install ( InstallationData $data ) : boolean Installs Fork

보호된 메소드들

메소드 설명
buildDatabase ( InstallationData $data )
createLocaleFiles ( InstallationData $data ) Create locale cache files
createYAMLConfig ( InstallationData $data ) Writes a config file to app/config/parameters.yml.
getConfigurationVariables ( InstallationData $data ) : array
getCoreInstaller ( InstallationData $data ) : CoreInstaller
getInstallerData ( InstallationData $data ) : array
installCore ( InstallationData $data )
installExtras ( )
installModules ( InstallationData $data )

비공개 메소드들

메소드 설명
deleteCachedData ( ) Delete the cached data

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\DependencyInjection\Container $container, $rootDir )
$container Symfony\Component\DependencyInjection\Container
$rootDir

buildDatabase() 보호된 메소드

protected buildDatabase ( InstallationData $data )
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData

createLocaleFiles() 보호된 메소드

Create locale cache files
protected createLocaleFiles ( InstallationData $data )
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData

createYAMLConfig() 보호된 메소드

Writes a config file to app/config/parameters.yml.
protected createYAMLConfig ( InstallationData $data )
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData

getConfigurationVariables() 보호된 메소드

protected getConfigurationVariables ( InstallationData $data ) : array
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData
리턴 array A list of variables that should be parsed into the configuration file(s).

getCoreInstaller() 보호된 메소드

protected getCoreInstaller ( InstallationData $data ) : CoreInstaller
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData
리턴 Backend\Core\Installer\CoreInstaller

getHiddenModules() 공개 정적인 메소드

Fetches the hidden modules
public static getHiddenModules ( ) : string[]
리턴 string[]

getInstallerData() 보호된 메소드

protected getInstallerData ( InstallationData $data ) : array
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData
리턴 array A list of variables that will be used in installers.

getRequiredModules() 공개 정적인 메소드

Fetches the required modules
public static getRequiredModules ( ) : string[]
리턴 string[]

install() 공개 메소드

Installs Fork
public install ( InstallationData $data ) : boolean
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData The collected data required for Fork
리턴 boolean Is Fork successfully installed?

installCore() 보호된 메소드

protected installCore ( InstallationData $data )
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData

installExtras() 보호된 메소드

protected installExtras ( )

installModules() 보호된 메소드

protected installModules ( InstallationData $data )
$data ForkCMS\Bundle\InstallerBundle\Entity\InstallationData