PHP 클래스 Airship\Engine\Continuum\Installers\Motif

This allows a new Motif to be installed
상속: extends Airship\Engine\Continuum\Installer
파일 보기 프로젝트 열기: paragonie/airship

보호된 프로퍼티들

프로퍼티 타입 설명
$ext string
$type string

공개 메소드들

메소드 설명
install ( InstallFile $fileInfo ) : boolean Motif install process.

보호된 메소드들

메소드 설명
addMotifToCabin ( string $cabin ) : boolean Add the new motif as an option to the Cabin
createSymlinks ( string $cabin, array $config, string $index ) : boolean Setup the initial symbolic links

메소드 상세

addMotifToCabin() 보호된 메소드

Add the new motif as an option to the Cabin
protected addMotifToCabin ( string $cabin ) : boolean
$cabin string
리턴 boolean

install() 공개 메소드

1. Extract files to the appropriate directory. 2. If this is a cabin-specific motif, update motifs.json. Otherwise, it's a global Motif. Enable for all cabins. 3. Create symbolic links. 4. Clear cache files.
public install ( InstallFile $fileInfo ) : boolean
$fileInfo InstallFile
리턴 boolean

프로퍼티 상세

$ext 보호되어 있는 프로퍼티

protected string $ext
리턴 string

$type 보호되어 있는 프로퍼티

protected string $type
리턴 string