GenericExceptionHandler SymphonyErrorPageHandler

public class SymphonyErrorPageHandler extends GenericExceptionHandler

class.symphony.php #534

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

Methods

static string render(SymphonyErrorPage $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 tpl.error.php

Parameters
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