Methods summary
public
mixed
|
#
showTaxiLocation( )
Returns
mixed Makes the taxi location view and passes a variable with it.
Author
Stefano Groenland
|
public
mixed
|
#
showTaxiOverview( )
Returns
mixed Makes the taxi overview view and passes 2 variables with it.
Author
Stefano Groenland
|
public
mixed
|
#
showTaxiEdit( )
Returns
mixed TODO : fill in func description
Author
Richard Perdaan
|
public
mixed
|
#
showTaxiAdd( )
Returns
mixed TODO : fill in func description
Author
Richard Perdaan
|
public
Illuminate\Http\RedirectResponse
|
#
addTaxi( Illuminate\Http\Request $request )
Parameters
Returns
Illuminate\Http\RedirectResponse If the radio button create_driver is set to create driver it will create a new taxi with a driver and instantly links them together.
If the create_driver radio button is set to assign it will pick a driver from the select and after creating the taxi it links them together.
Author
Stefano Groenland
|
public
Illuminate\Http\RedirectResponse
|
#
deletetaxi( )
Returns
Illuminate\Http\RedirectResponse Grabs the ID of the taxi, And deletes the corresponding rows from the Database.
Author
Stefano Groenland
|
public
|
#
editTaxi( Illuminate\Http\Request $request )
|
public
Illuminate\Http\RedirectResponse|Illuminate\Routing\Redirector
|
#
upload( Illuminate\Http\Request $request, $id )
Parameters
Returns
Illuminate\Http\RedirectResponse|Illuminate\Routing\Redirector Grabs the file named 'profile_photo' from the request and uploads it onto the server,
It updates the corresponding user with the link to the uploaded picture as their profile_photo in the User table.
Authors
Stefano Groenland, Richard Perdaan
|