Airport Guide Documentation

AirportsAirportflyer extends Model
in package
uses HasFactory

AirportsAirportflyer Model for managing airport data with SEO and content management features.

This model is used to create and manage airport data specifically designed for the airport flyer platform, including comprehensive airport information, SEO optimization features, and content management capabilities. It provides a structured interface for storing and retrieving airport-specific data such as basic airport information, enplanement statistics, ownership details, official links, visual content, and SEO meta information. The model supports comprehensive airport data management including geographic information, operational statistics, content management flags, and search engine optimization features for enhanced airport guide platform functionality.

Tags
used-by
FourSquareAPIController::getHotelDetails()

Model to retrieve airport title information

used-by
SitemapController::cityIndexTest()

Model to retrieve airport information

used-by
SitemapController::terminalIndex()

Model to retrieve airport information

used-by
SitemapController::diagramIndex()

Model to retrieve airport information

used-by
SitemapController::terminalDiagramIndex()

Model to retrieve airport information

used-by
SitemapController::allIndex()

Model to retrieve airport information

used-by
SitemapController::cityIndexNew()

Model to retrieve paginated airport data

used-by
SitemapController::cityAllIndex()

Model to retrieve unprocessed airport data

used-by
TerminalController::getTerminalLevelMaps()

Model to query airport information

Table of Contents

Properties

$about  : string|null
$airnav_link  : string|null
$airport  : string
$airport_address  : string|null
$airport_id  : int
$airportflyer_link  : string|null
$city  : string
$contact_number  : string|null
$created_at  : string
$current  : string
$custom_meta_tags  : string|null
$enplaned  : int
$hub  : string
$id  : int
$img_name  : string|null
$img_path  : string|null
$img_status  : int
$is_major  : int
$locid  : string
$map_url  : string|null
$meta_description  : string|null
$meta_title  : string|null
$official_website  : string|null
$ownership  : string
$role  : string
$short_airport  : string
$sitemap_flag  : int
$state  : string
$total_count  : int
$updated_at  : string
$webp_image  : string|null
$wikipedia_link  : string|null
$year_5  : int
$fillable  : array<string|int, mixed>
The attributes that are mass assignable for airport flyer platform records.

Methods

__construct()  : void
Initialize the AirportsAirportflyer model with the correct database table configuration.

Properties

$custom_meta_tags

public string|null $custom_meta_tags

Custom meta tags for SEO optimization

$meta_description

public string|null $meta_description

The SEO meta description for the airport page

$sitemap_flag

public int $sitemap_flag

Flag indicating if the airport should be included in sitemap

public string|null $wikipedia_link

The Wikipedia page URL for the airport

$fillable

The attributes that are mass assignable for airport flyer platform records.

protected array<string|int, mixed> $fillable = ['id', 'state', 'city', 'airport', 'locid', 'year_5', 'enplaned', 'airportflyer_link', 'ownership', 'role', 'airport_id', 'hub', 'current', 'about', 'official_website', 'wikipedia_link', 'airnav_link', 'contact_number', 'airport_address', 'img_name', 'img_path', 'created_at', 'updated_at', 'short_airport', 'webp_image', 'sitemap_flag', 'total_count', 'img_status', 'custom_meta_tags', 'meta_title', 'meta_description', 'map_url', 'is_major']

This property defines the fields that can be mass-assigned when creating or updating AirportsAirportflyer records. It includes all essential airport flyer platform fields such as geographic information, airport details, operational statistics, content management features, SEO optimization fields, visual content, and platform-specific flags. The fillable attributes ensure data integrity while allowing efficient bulk operations for airport flyer platform data management with enhanced SEO and content management capabilities.

Methods

__construct()

Initialize the AirportsAirportflyer model with the correct database table configuration.

public __construct() : void

This function is used to create a properly configured AirportsAirportflyer model instance by setting the database table name from the configuration constants. It ensures that the model interacts with the correct database table for airport flyer platform data information, which is essential for proper airport data storage and retrieval operations. The constructor dynamically assigns the table name based on the AIRPORTS_AIRPORTFLYER configuration constant to maintain flexibility and configuration-driven behavior for airport flyer platform data management.


        
On this page

Search results