Page
extends Base
in package
implements
Document
The container for generating html pages.
Interfaces, Classes, Traits and Enums
- Document
- A Document is a standalone component, that can't be wrapped inside another component.
Table of Contents
- $content : Component
- $statusbar : bool
- Bepaald of de statusbalk getoond word. (Wordt automatisch bepaald door de ErrorHandler->html waarde).
- $headers : array<string|int, mixed>
- Tags die in de <head> vallen.
- __call() : mixed
- Report that the $method doesn't exist.
- __callStatic() : mixed
- Report that the $method doesn't exist.
- __get() : mixed
- Report that $property doesn't exist.
- __set() : mixed
- Report that $property doesn't exist and set the property to the given $value.
- __toString() : string
- The object is used as an string.
- getHeaders() : array<string|int, mixed>
- Vraag de headers op en werk de interne headers array bij.
- isDocument() : bool
- Determines if the component is a Document.
- render() : mixed
- Het document genereren.
Properties
$content
public
Component
$content
$statusbar
Bepaald of de statusbalk getoond word. (Wordt automatisch bepaald door de ErrorHandler->html waarde).
public
bool
$statusbar
= false
$headers
Tags die in de <head> vallen.
private
array<string|int, mixed>
$headers
title, // De <title> tag css = array(), // De stylesheet urls javascript = array(), // De javascript urls (Bij voorkeur geen javascript in de head.)
meta = array(), // De tags link = array(), // De tags htmlParameters = array(); // parameters die binnen de tag geplaatst worden bodyParameters = array(); // parameters die binnen de
tag geplaatst wordenMethods
__call()
Report that the $method doesn't exist.
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Return values
mixed —__callStatic()
Report that the $method doesn't exist.
public
static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Return values
mixed —__get()
Report that $property doesn't exist.
public
__get(string $property) : mixed
Parameters
- $property : string
Return values
mixed —__set()
Report that $property doesn't exist and set the property to the given $value.
public
__set(string $property, mixed $value) : mixed
Parameters
- $property : string
- $value : mixed
Return values
mixed —__toString()
The object is used as an string.
public
__toString() : string
Return values
string —getHeaders()
Vraag de headers op en werk de interne headers array bij.
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed> —isDocument()
Determines if the component is a Document.
public
isDocument() : bool
This allows errors to be wrapped in a layout.
Return values
bool —render()
Het document genereren.
public
render() : mixed