Documentation

MetaData
in package

Meta Class

The Meta class provides functions for retrieving meta data for web pages.

Table of Contents

Methods

get()  : array<string|int, mixed>
Get meta data for a specific page.

Methods

get()

Get meta data for a specific page.

public static get([string|null $page = null ]) : array<string|int, mixed>

This function returns an array containing meta data (title, description, keywords) for the given page.

Parameters
$page : string|null = null

The page for which to retrieve meta data. Defaults to the current request URI.

Return values
array<string|int, mixed>

An array containing meta data for the specified page.


        
On this page

Search results