ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Twig_Sandbox_SecurityNotAllowedPropertyError Class Reference

Exception thrown when a not allowed class property is used in a template. More...

+ Inheritance diagram for Twig_Sandbox_SecurityNotAllowedPropertyError:
+ Collaboration diagram for Twig_Sandbox_SecurityNotAllowedPropertyError:

Public Member Functions

 __construct ($message, $className, $propertyName, $lineno=-1, $filename=null, Exception $previous=null)
 
 getClassName ()
 
 getPropertyName ()
 
- Public Member Functions inherited from Twig_Error
 __construct ($message, $lineno=-1, $source=null, Exception $previous=null)
 Constructor. More...
 
 getRawMessage ()
 Gets the raw message. More...
 
 getTemplateFile ()
 Gets the logical name where the error occurred. More...
 
 setTemplateFile ($name)
 Sets the logical name where the error occurred. More...
 
 getTemplateName ()
 Gets the logical name where the error occurred. More...
 
 setTemplateName ($name)
 Sets the logical name where the error occurred. More...
 
 getTemplateLine ()
 Gets the template line where the error occurred. More...
 
 setTemplateLine ($lineno)
 Sets the template line where the error occurred. More...
 
 getSourceContext ()
 Gets the source context of the Twig template where the error occurred. More...
 
 setSourceContext (Twig_Source $source=null)
 Sets the source context of the Twig template where the error occurred. More...
 
 guess ()
 
 __call ($method, $arguments)
 For PHP < 5.3.0, provides access to the getPrevious() method. More...
 
 appendMessage ($rawMessage)
 

Private Attributes

 $className
 
 $propertyName
 

Additional Inherited Members

- Protected Member Functions inherited from Twig_Error
 updateRepr ()
 
 guessTemplateInfo ()
 
- Protected Attributes inherited from Twig_Error
 $lineno
 
 $filename
 
 $rawMessage
 
 $previous
 

Detailed Description

Exception thrown when a not allowed class property is used in a template.

Author
Kit Burton-Senior mail@.nosp@m.kitb.nosp@m.s.com

Definition at line 17 of file SecurityNotAllowedPropertyError.php.

Constructor & Destructor Documentation

◆ __construct()

Twig_Sandbox_SecurityNotAllowedPropertyError::__construct (   $message,
  $className,
  $propertyName,
  $lineno = -1,
  $filename = null,
Exception  $previous = null 
)

Member Function Documentation

◆ getClassName()

Twig_Sandbox_SecurityNotAllowedPropertyError::getClassName ( )

◆ getPropertyName()

Twig_Sandbox_SecurityNotAllowedPropertyError::getPropertyName ( )

Field Documentation

◆ $className

Twig_Sandbox_SecurityNotAllowedPropertyError::$className
private

Definition at line 19 of file SecurityNotAllowedPropertyError.php.

Referenced by __construct(), and getClassName().

◆ $propertyName

Twig_Sandbox_SecurityNotAllowedPropertyError::$propertyName
private

Definition at line 20 of file SecurityNotAllowedPropertyError.php.

Referenced by __construct(), and getPropertyName().


The documentation for this class was generated from the following file: