Overview

Namespaces

  • App
    • Http
      • Controllers
        • Auth
      • Middleware
  • PHP

Classes

  • AdController
  • ApiController
  • CommentController
  • Controller
  • EmergencyController
  • NewspaperController
  • RouteController
  • TaxiController
  • UserController
  • Overview
  • Namespace
  • Class
  • Tree

Class TaxiController

Illuminate\Routing\Controller
Extended by App\Http\Controllers\Controller uses Illuminate\Foundation\Auth\Access\AuthorizesRequests (not available) Illuminate\Foundation\Bus\DispatchesJobs (not available) Illuminate\Foundation\Validation\ValidatesRequests (not available)
Extended by App\Http\Controllers\TaxiController
Namespace: App\Http\Controllers
Located at app/Http/Controllers/TaxiController.php
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

$request

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

$request
$id

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
APIv1 API documentation generated by ApiGen