PHP Class Modules\Doptor\TranslationManager\Controllers\Backend\LanguageManagerController

Inheritance: extends Backend\AdminController
显示文件 Open project: doptor/doptor

Public Methods

Method Description
__construct ( LanguageService $language_service )
create ( ) : Response Show the form for creating a new resource.
destroy ( integer $id ) : Response Remove the specified resource from storage.
edit ( integer $id ) : Response Show the form for editing the specified resource.
export ( $language_id ) Export the language files for download
getInstall ( ) Show the page for installing a language file
index ( ) : Response Display a listing of the resource.
postInstall ( ) Store a newly created installed module in storage.
store ( ) : Response Store a newly created resource in storage.
update ( integer $id ) : Response Update the specified resource in storage.

Method Details

__construct() public method

public __construct ( LanguageService $language_service )
$language_service Modules\Doptor\TranslationManager\Services\LanguageService

create() public method

Show the form for creating a new resource.
public create ( ) : Response
return Response

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id ) : Response
$id integer
return Response

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Response
$id integer
return Response

export() public method

Export the language files for download
public export ( $language_id )
$language_id

getInstall() public method

Show the page for installing a language file
public getInstall ( )

index() public method

Display a listing of the resource.
public index ( ) : Response
return Response

postInstall() public method

Store a newly created installed module in storage.
public postInstall ( )

store() public method

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

update() public method

Update the specified resource in storage.
public update ( integer $id ) : Response
$id integer
return Response