GenericExceptionHandler SymphonyErrorPageHandler FrontendPageNotFoundExceptionHandler

public class FrontendPageNotFoundExceptionHandler extends SymphonyErrorPageHandler

class.frontend.php #141

The FrontendPageNotFoundExceptionHandler attempts to find a Symphony page that has been given the '404' page type to render the SymphonyErrorPage error, instead of using the Symphony default.

Methods

static string render(Exception $e)

The render function will take a FrontendPageNotFoundException Exception and output a HTML page. This function first checks to see if their is a page in Symphony that has been given the '404' page type, otherwise it will just use the default Symphony error page template to output the exception

Parameters
  • $e ExceptionThe Exception object

Returns

An HTML string

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details