Property | Type | Description | |
---|---|---|---|
$file | |||
$full_path | |||
$listener | |||
$screenshot | |||
$theme_directory |
Method | Description | |
---|---|---|
__construct ( $listener, $input ) | ||
cleanup ( ) | Cleans up the temporary files/folders from temporary directory | |
installTheme ( ) |
Method | Description | |
---|---|---|
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 |
public cleanup ( ) |
protected copyFiles ( ) : [type] | ||
return | [type] |
protected getAndCheckConfig ( ) |
protected installModules ( ) |
protected installSampleData ( $theme ) |
protected seedDatabase ( $theme ) |