Pages_Frontend
A trait containing various frontend page-related functions
This trait, Pages_Frontend
, contains methods for handling different types of frontend pages and functionality in a web application.
Landing Page
phpInfo
Displays PHP configuration information.
openai_controller
Handles OpenAI API requests for generating funny words.
openai_view
Loads the OpenAI view.
index
Handles the main landing page.
Category Page
programme
Displays the event category overview.
Normal Page Template
normal_page_template
A template for normal pages.
Custom Detail Page
custom_detail_without_modules
Displays a custom detail page for artists.
Site Map
site_map
Generates a site map.
Search
search
Performs a search across articles and text modules.
Miscellaneous
heygen
Loads the Heygen view for logged-in users.
cookies
Handles cookie-related functionality.
This trait assumes the existence of various helper methods and properties that are not defined within the provided code snippet. These may be defined in a parent class or other traits.