GenericExceptionHandler SymphonyErrorPageHandler

public class SymphonyErrorPageHandler extends GenericExceptionHandler

class.symphony.php #736

The SymphonyErrorPageHandler extends the GenericExceptionHandler to allow the template for the exception to be provided from the TEMPLATES directory

Methods

static string render(Exception $e)

The render function will take a SymphonyErrorPage exception and output a HTML page. This function first checks to see if their is a custom template for this exception otherwise it reverts to using the default usererror.generic.php

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