Class Twig_Sandbox_SecurityNotAllowedFunctionError

InheritanceTwig_Sandbox_SecurityNotAllowedFunctionError » Twig_Sandbox_SecurityError » Twig_Error » Exception

Exception thrown when a not allowed function is used in a template.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__call() For PHP < 5.3.0, provides access to the getPrevious() method. Twig_Error
__construct() Twig_Sandbox_SecurityNotAllowedFunctionError
appendMessage() Twig_Error
getFunctionName() Twig_Sandbox_SecurityNotAllowedFunctionError
getRawMessage() Gets the raw message. Twig_Error
getTemplateFile() Gets the filename where the error occurred. Twig_Error
getTemplateLine() Gets the template line where the error occurred. Twig_Error
guess() Twig_Error
setTemplateFile() Sets the filename where the error occurred. Twig_Error
setTemplateLine() Sets the template line where the error occurred. Twig_Error

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
guessTemplateInfo() Twig_Error
updateRepr() Twig_Error

Method Details

__construct() public method

public void __construct ( $message, $functionName, $lineno = -1, $filename null, Exception $previous null )
$message
$functionName
$lineno
$filename
$previous
getFunctionName() public method

public void getFunctionName ( )