\Evaluation\Http\Controllers\ModelControllersGradeScaleController

Class GradeScaleController

Summary

Methods
Properties
Constants
getStatusCode()
setStatusCode()
respondNotFound()
respondInternalError()
respond()
respondWithError()
__construct()
index()
create()
store()
show()
edit()
update()
destroy()
delete()
restore()
getAllWithTrashed()
getOneTrashed()
getMarks()
No public properties found
No constants found
respondCreated()
$statusCode
$gradeScaleTransformer
N/A
No private methods found
No private properties found
N/A

Properties

$statusCode

$statusCode : integer

Type

integer

Methods

getStatusCode()

getStatusCode() : mixed

Returns

mixed

setStatusCode()

setStatusCode(mixed  $statusCode) : $this

Parameters

mixed $statusCode

Returns

$this

respondNotFound()

respondNotFound(string  $message = 'Not Found') : mixed

Parameters

string $message

Returns

mixed

respondInternalError()

respondInternalError(string  $message = 'Internal error') : mixed

Parameters

string $message

Returns

mixed

respond()

respond(  $data, array  $headers = array()) : mixed

Parameters

$data
array $headers

Returns

mixed

respondWithError()

respondWithError(  $message) : mixed

Parameters

$message

Returns

mixed

index()

index() : \Illuminate\Support\Facades\Response

Display a listing of the resource.

Returns

\Illuminate\Support\Facades\Response

create()

create() : \Illuminate\Support\Facades\Response

Show the form for creating a new resource.

Returns

\Illuminate\Support\Facades\Response

store()

store() : \Illuminate\Support\Facades\Response

Store a newly created resource in storage.

Returns

\Illuminate\Support\Facades\Response

show()

show(integer  $id) : \Illuminate\Support\Facades\Response

Display the specified resource.

Parameters

integer $id

Returns

\Illuminate\Support\Facades\Response

edit()

edit(integer  $id) : \Illuminate\Support\Facades\Response

Show the form for editing the specified resource.

Parameters

integer $id

Returns

\Illuminate\Support\Facades\Response

update()

update(integer  $id) : \Illuminate\Support\Facades\Response

Update the specified resource in storage.

Parameters

integer $id

Returns

\Illuminate\Support\Facades\Response

destroy()

destroy(integer  $id) : \Illuminate\Support\Facades\Response

Remove the specified resource from storage.

Parameters

integer $id

Returns

\Illuminate\Support\Facades\Response

delete()

delete(  $id) 

Mark for deletion this

Parameters

$id

restore()

restore(  $id) 

Restore marked for deletion this

Parameters

$id

getAllWithTrashed()

getAllWithTrashed() : \Illuminate\Database\Eloquent\Builder|static

Return all, included trashed

Returns

\Illuminate\Database\Eloquent\Builder|static

getOneTrashed()

getOneTrashed(  $id) : mixed

Return one trashed

Parameters

$id

Returns

mixed

getMarks()

getMarks(  $id) : mixed

Get all marks from one grade_scale

Parameters

$id

Returns

mixed

respondCreated()

respondCreated(  $message) : mixed

Parameters

$message

Returns

mixed