PHP Class Yab\Quarx\Controllers\FilesController

Inheritance: extends QuarxController
显示文件 Open project: YABhq/Quarx

Public Methods

Method Description
__construct ( FileRepository $fileRepo )
apiList ( Illuminate\Http\Request $request ) : Response Display the specified Images.
create ( ) : Response Show the form for creating a new Files.
destroy ( integer $id ) : Response Remove the specified Files from storage.
edit ( integer $id ) : Response Show the form for editing the specified Files.
index ( ) : Response Display a listing of the Files.
remove ( string $id ) : Response Remove a file.
search ( Illuminate\Http\Request $request ) : Response Search.
store ( Illuminate\Http\Request $request ) : Response Store a newly created Files in storage.
update ( integer $id, Yab\Quarx\Requests\FileRequest $request ) : Response Update the specified Files in storage.
upload ( Illuminate\Http\Request $request ) : Response Store a newly created Files in storage.

Method Details

__construct() public method

public __construct ( FileRepository $fileRepo )
$fileRepo Yab\Quarx\Repositories\FileRepository

apiList() public method

Display the specified Images.
public apiList ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
return Response

create() public method

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

destroy() public method

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

edit() public method

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

index() public method

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

remove() public method

Remove a file.
public remove ( string $id ) : Response
$id string
return Response

store() public method

Store a newly created Files in storage.
public store ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
return Response

update() public method

Update the specified Files in storage.
public update ( integer $id, Yab\Quarx\Requests\FileRequest $request ) : Response
$id integer
$request Yab\Quarx\Requests\FileRequest
return Response

upload() public method

Store a newly created Files in storage.
public upload ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
return Response