PHP 클래스 Backend\Modules\Extensions\Actions\UploadModule

It will install a module via a compressed zip file.
상속: extends Backend\Core\Engine\Base\ActionAdd
파일 보기 프로젝트 열기: forkcms/forkcms

공개 메소드들

메소드 설명
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 ( )