PHP Class Amranidev\ScaffoldInterface\Http\Controllers\GuiController

Inheritance: extends App\Http\Controllers\Controller
显示文件 Open project: amranidev/scaffold-interface

Public Methods

Method Description
deleteMsg ( $id ) : Illuminate\Http\Response Delete confirmation message by ajaxis.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
getResult ( string $table, Illuminate\Http\Request $request ) : Illuminate\Http\Response Get attributes.
index ( ) : Illuminate\Http\Response Display a listing of the resource.
manyToMany ( Illuminate\Http\Request $request ) : Illuminate\Http\Response ManyToMany generate.
manyToManyForm ( Illuminate\Http\Request $request ) : Illuminate\Http\Response ManyToMany form.
migrate ( ) : Illuminate\Http\Response Migrate schema.
rollback ( ) : Illuminate\Http\Response Rollback schema.
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Store a newly created resource in storage.

Private Methods

Method Description
check ( array $request ) : mixed Check ManyToMany request if is it available to use.
clearRoutes ( string $remove ) : mixed Clear routes.

Method Details

deleteMsg() public method

Delete confirmation message by ajaxis.
public deleteMsg ( $id ) : Illuminate\Http\Response
return Illuminate\Http\Response

destroy() public method

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

getResult() public method

Get attributes.
public getResult ( string $table, Illuminate\Http\Request $request ) : Illuminate\Http\Response
$table string
$request Illuminate\Http\Request
return Illuminate\Http\Response

index() public method

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

manyToMany() public method

ManyToMany generate.
public manyToMany ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
return Illuminate\Http\Response

manyToManyForm() public method

ManyToMany form.
public manyToManyForm ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
return Illuminate\Http\Response

migrate() public method

Migrate schema.
public migrate ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

rollback() public method

Rollback schema.
public rollback ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

store() public method

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