PHP 클래스 Backend\ModuleBuilderController

상속: extends backend\AdminController
파일 보기 프로젝트 열기: doptor/doptor

공개 메소드들

메소드 설명
__construct ( ModuleBuilder $moduleBuilder )
create ( ) Show the form for creating a new module.
destroy ( integer $id ) : Illuminate\Http\RedirectResponse Remove the specified module from storage.
download ( $id )
edit ( integer $id ) Show the form for editing the module.
getFormDropdowns ( $form_id ) : array Get all the dropdown fields, for the form
getFormFields ( $id, $module_id = null ) : array Get al the form fields in a form as an associative array
index ( ) Display a listing of the modules.
store ( ) Store a newly created resource in storage.
update ( integer $id ) : Illuminate\Http\RedirectResponse | BinaryFileResponse Update the specified menu entry in storage.

비공개 메소드들

메소드 설명
formDropdownSources ( $module_id = null ) : array
formatInput ( $zip_file, $input ) Format the input parameters, so as to make them ready for saving to DB

메소드 상세

__construct() 공개 메소드

public __construct ( ModuleBuilder $moduleBuilder )
$moduleBuilder Services\ModuleBuilder

create() 공개 메소드

Show the form for creating a new module.
public create ( )

destroy() 공개 메소드

Remove the specified module from storage.
public destroy ( integer $id ) : Illuminate\Http\RedirectResponse
$id integer
리턴 Illuminate\Http\RedirectResponse

download() 공개 메소드

public download ( $id )

edit() 공개 메소드

Show the form for editing the module.
public edit ( integer $id )
$id integer

getFormDropdowns() 공개 메소드

Get all the dropdown fields, for the form
public getFormDropdowns ( $form_id ) : array
$form_id
리턴 array

getFormFields() 공개 메소드

Get al the form fields in a form as an associative array
public getFormFields ( $id, $module_id = null ) : array
$id
리턴 array

index() 공개 메소드

Display a listing of the modules.
public index ( )

store() 공개 메소드

Store a newly created resource in storage.
public store ( )

update() 공개 메소드

Update the specified menu entry in storage.
public update ( integer $id ) : Illuminate\Http\RedirectResponse | BinaryFileResponse
$id integer
리턴 Illuminate\Http\RedirectResponse | Symfony\Component\HttpFoundation\BinaryFileResponse