Null_Theme

A placeholder class for themes that do not require any compatibility layer.

This class extends the base Theme class but does not add any additional functionality.

Inherited methods

render_template

Render the specified theme template with options.

public render_template(string $template_name, array $options = []): void

Parameters:

ParameterTypeDescription
$template_namestringThe name of the template to render.
$optionsarrayThe options to pass to the template controller.

load_compat_functions

Load theme-specific compatibility functions.

public load_compat_functions(): void

This method is intended to be overridden by child classes to load additional functions.


is_version_supported

Check if the theme version is supported.

public is_version_supported(string $version): bool

Parameters:

ParameterTypeDescription
$versionstringThe version to check.

Return Value:

True if the version is supported, false otherwise.



Automatically generated on 2025-01-21