Airport Guide Documentation

LimoTaxiController extends BaseController
in package

Limo Taxi Controller

This controller manages comprehensive limo taxi service operations including taxi CRUD, DataTables integration, advanced filtering, and taxi information management. It provides functionality for managing limo taxi services with search capabilities, pagination, and detailed taxi information display for airport transportation services.

Table of Contents

Methods

__construct()  : void
Create a new LimoTaxiController instance.
create()  : View
Show the form for creating a new limo taxi service.
destroy()  : RedirectResponse
Remove the specified limo taxi service from storage.
edit()  : View
Show the form for editing the specified limo taxi service.
index()  : View|JsonResponse
Display a listing of limo taxi services with DataTables integration and advanced filtering.
show()  : void
Display detailed information about a specific limo taxi service.
store()  : RedirectResponse
Store a newly created limo taxi service in storage.
update()  : RedirectResponse
Update the specified limo taxi service in storage.

Methods

__construct()

Create a new LimoTaxiController instance.

public __construct() : void

Checks if user is logged in and has proper permissions for limo taxi management. Redirects to appropriate page if permissions are not met.

create()

Show the form for creating a new limo taxi service.

public create(Request $request) : View

Displays the limo taxi service creation form with dropdown data for airports and states. Initializes form fields and loads reference data for taxi service creation.

Parameters
$request : Request
Return values
View

destroy()

Remove the specified limo taxi service from storage.

public destroy(int $id) : RedirectResponse

Deletes the taxi service record and logs the activity for audit purposes. Provides appropriate feedback message after successful deletion.

Parameters
$id : int
Return values
RedirectResponse

edit()

Show the form for editing the specified limo taxi service.

public edit(int $id, Request $request) : View

Validates user permissions and taxi service ID before displaying the edit form. Includes security checks with MD5 hash validation for taxi service access.

Parameters
$id : int
$request : Request
Return values
View

index()

Display a listing of limo taxi services with DataTables integration and advanced filtering.

public index(Request $request) : View|JsonResponse

Provides a paginated list of limo taxi services with comprehensive search capabilities. Supports filtering by company name, address, phone, airport name, and airport code. Includes DataTables functionality with custom columns and action buttons for CRUD operations.

Parameters
$request : Request
Return values
View|JsonResponse

show()

Display detailed information about a specific limo taxi service.

public show(int $id, Request $request) : void

Shows comprehensive taxi service information in a formatted HTML table. Displays taxi details including airport name, company information, contact details, and service information for the specified taxi service.

Parameters
$id : int
$request : Request

store()

Store a newly created limo taxi service in storage.

public store(Request $request) : RedirectResponse

Validates taxi service data, processes airport information, and creates a new taxi record. Handles airport code extraction and logs the activity for audit purposes.

Parameters
$request : Request
Return values
RedirectResponse

update()

Update the specified limo taxi service in storage.

public update(Request $request, int $id) : RedirectResponse

Validates taxi service data, processes airport information, and updates the taxi record. Handles airport code extraction and logs the activity for audit purposes. Maintains pagination and filter parameters for proper redirect.

Parameters
$request : Request
$id : int
Return values
RedirectResponse

        
On this page

Search results