PHP 클래스 Components\ThemeManager\Services\ThemeInstaller

파일 보기 프로젝트 열기: doptor/doptor 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$file
$full_path
$listener
$screenshot
$theme_directory

공개 메소드들

메소드 설명
__construct ( $listener, $input )
cleanup ( ) Cleans up the temporary files/folders from temporary directory
installTheme ( )

보호된 메소드들

메소드 설명
Unzip ( $file, $path )
backupDatabase ( )
copyFiles ( ) : [type] Copy the extracted files to their respective directory
copySampleUploads ( ) Copy the sample uploads(images, pdfs.
copyScreenshot ( )
extractToTemporary ( )
getAndCheckConfig ( ) Get the configuration file from the temporary folder, get its content
installModules ( ) Install all modules bundled with the theme
installSampleData ( $theme ) Install sample data present in the theme
seedDatabase ( $theme ) Seed the database using theme sample data

메소드 상세

Unzip() 보호된 메소드

protected Unzip ( $file, $path )

__construct() 공개 메소드

public __construct ( $listener, $input )

backupDatabase() 보호된 메소드

protected backupDatabase ( )

cleanup() 공개 메소드

Cleans up the temporary files/folders from temporary directory
public cleanup ( )

copyFiles() 보호된 메소드

Copy the extracted files to their respective directory
protected copyFiles ( ) : [type]
리턴 [type]

copySampleUploads() 보호된 메소드

..) in the theme
protected copySampleUploads ( )

copyScreenshot() 보호된 메소드

protected copyScreenshot ( )

extractToTemporary() 보호된 메소드

protected extractToTemporary ( )

getAndCheckConfig() 보호된 메소드

Get the configuration file from the temporary folder, get its content
protected getAndCheckConfig ( )

installModules() 보호된 메소드

Install all modules bundled with the theme
protected installModules ( )

installSampleData() 보호된 메소드

Install sample data present in the theme
protected installSampleData ( $theme )

installTheme() 공개 메소드

public installTheme ( )

seedDatabase() 보호된 메소드

Seed the database using theme sample data
protected seedDatabase ( $theme )

프로퍼티 상세

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

protected $file

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

protected $full_path

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

protected $listener

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

protected $screenshot

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

protected $theme_directory