PHP Класс Backend\Modules\Extensions\Actions\UploadModule

It will install a module via a compressed zip file.
Наследование: extends Backend\Core\Engine\Base\ActionAdd
Показать файл Открыть проект

Открытые методы

Метод Описание
execute ( ) Execute the action.

Приватные методы

Метод Описание
extractPrefix ( $file ) : string Try to extract a prefix if a module has been zipped with unexpected paths.
installModule ( ) : string Process the zip-file & install the module
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.

Описание методов

execute() публичный Метод

Execute the action.
public execute ( )