\PageNotFound
ErrorPage holds the content for the page of an error response.
Renders the page on each publish action into a static HTML file
within the assets directory, after the naming convention
/assets/error-<statuscode>.html.
This enables us to show errors even if PHP experiences a recoverable error.
ErrorPages
Synopsis
class PageNotFound
extends ErrorPage
{
- // members
- public static string $icon = "mysite/images/treeIcons/PageNotFound";
- public static string $hide_ancestor = "ErrorPage";
- // methods
- public void doPublish()
Hierarchy
Extends
- ErrorPage
Members
public
- $hide_ancestor
- $icon