Метод |
Описание |
|
checkIfPathContainsIgnoredWord ( string $path ) : boolean |
|
|
extractFolderNameBasedOnInfoFile ( string $infoFilePath ) : string |
|
|
findInfoFileInZip ( ZipArchive $zip ) : string |
Two ideal situations possible: we have a zip with files including info.xml, or we have a zip with the theme-folder. |
|
getValidatedFilesList ( ZipArchive $zip ) : String[] |
Create a list of files. These are the files that will actuall be unpacked to the Themes folder. |
|
isWritable ( ) : boolean |
Do we have write rights to the modules folders? |
|
loadForm ( ) |
Create a form and its elements. |
|
validateForm ( ) |
Validate a submitted form and process it. |
|