Documentation

HeadGenerate
in package

FinalYes

HeadGenerate class

This class is responsible for generating the HTML head section of a web page.

It provides a single method, autoGenerate, which takes a Head object, an array of options, and an object of data as parameters.

The autoGenerate method generates the HTML head section based on the options and data provided.

Tags
final

Table of Contents

Methods

autoCompleted()  : string
This method returns the value of the autoCompleted status.
autoGenerate()  : string
Generate the HTML head section of a web page.

Methods

autoCompleted()

This method returns the value of the autoCompleted status.

public static autoCompleted() : string
Return values
string

The value of the autoCompleted status.

autoGenerate()

Generate the HTML head section of a web page.

public static autoGenerate(Head $head, array<string|int, mixed> $option, object $data) : string

This method takes a Head object, an array of options, and an object of data as parameters.

It generates the HTML head section based on the options and data provided.

Parameters
$head : Head

The Head object to generate the HTML head section from.

$option : array<string|int, mixed>

An array of options for generating the HTML head section.

$data : object

An object of data to use when generating the HTML head section.

Return values
string

The generated HTML head section.

On this page

Search results