Class Twig_Sandbox_SecurityNotAllowedTagError

InheritanceTwig_Sandbox_SecurityNotAllowedTagError » Twig_Sandbox_SecurityError » Twig_Error » Exception

Exception thrown when a not allowed tag 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_SecurityNotAllowedTagError
appendMessage() Twig_Error
getRawMessage() Gets the raw message. Twig_Error
getTagName() Twig_Sandbox_SecurityNotAllowedTagError
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, $tagName, $lineno = -1, $filename null, Exception $previous null )
$message
$tagName
$lineno
$filename
$previous
getTagName() public method

public void getTagName ( )