\Evaluation\Http\Controllers\ModelControllersStudySubmodulesController

Class StudySubmodulesController

Summary

Methods
Properties
Constants
getStatusCode()
setStatusCode()
respondNotFound()
respondInternalError()
respond()
respondWithError()
__construct()
index()
create()
store()
show()
edit()
update()
destroy()
delete()
restore()
getAllWithTrashed()
getOneTrashed()
getEvaluations()
No public properties found
No constants found
respondCreated()
$statusCode
$subModuleTransformer
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() : \Evaluation\Http\Controllers\ModelControllers\Response

Display a listing of the resource.

Returns

\Evaluation\Http\Controllers\ModelControllers\Response

create()

create() : \Evaluation\Http\Controllers\ModelControllers\Response

Show the form for creating a new resource.

Returns

\Evaluation\Http\Controllers\ModelControllers\Response

store()

store() : \Evaluation\Http\Controllers\ModelControllers\Response

Store a newly created resource in storage.

Returns

\Evaluation\Http\Controllers\ModelControllers\Response

show()

show(integer  $id) : \Evaluation\Http\Controllers\ModelControllers\Response

Display the specified resource.

Parameters

integer $id

Returns

\Evaluation\Http\Controllers\ModelControllers\Response

edit()

edit(integer  $id) : \Evaluation\Http\Controllers\ModelControllers\Response

Show the form for editing the specified resource.

Parameters

integer $id

Returns

\Evaluation\Http\Controllers\ModelControllers\Response

update()

update(integer  $id) : \Evaluation\Http\Controllers\ModelControllers\Response

Update the specified resource in storage.

Parameters

integer $id

Returns

\Evaluation\Http\Controllers\ModelControllers\Response

destroy()

destroy(integer  $id) : \Evaluation\Http\Controllers\ModelControllers\Response

Remove the specified resource from storage.

Parameters

integer $id

Returns

\Evaluation\Http\Controllers\ModelControllers\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

getEvaluations()

getEvaluations(  $id) : mixed

Get evaluations of one subModule

Parameters

$id

Returns

mixed

respondCreated()

respondCreated(  $message) : mixed

Parameters

$message

Returns

mixed