class Twig_Sandbox_SecurityNotAllowedFilterError in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Sandbox/SecurityNotAllowedFilterError.php \Twig_Sandbox_SecurityNotAllowedFilterError
Exception thrown when a not allowed filter is used in a template.
@author Martin Hasoň <martin.hason@gmail.com>
Hierarchy
- class \Twig_Error extends \Exception
Expanded class hierarchy of Twig_Sandbox_SecurityNotAllowedFilterError
File
- vendor/
Twig/ Sandbox/ SecurityNotAllowedFilterError.php, line 17
View source
class Twig_Sandbox_SecurityNotAllowedFilterError extends Twig_Sandbox_SecurityError {
private $filterName;
public function __construct($message, $functionName, $lineno = -1, $filename = null, Exception $previous = null) {
parent::__construct($message, $lineno, $filename, $previous);
$this->filterName = $functionName;
}
public function getFilterName() {
return $this->filterName;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Error:: |
protected | property | ||
Twig_Error:: |
protected | property | ||
Twig_Error:: |
protected | property | ||
Twig_Error:: |
protected | property | ||
Twig_Error:: |
public | function | Gets the raw message. | |
Twig_Error:: |
public | function | Gets the filename where the error occurred. | |
Twig_Error:: |
public | function | Gets the template line where the error occurred. | |
Twig_Error:: |
public | function | ||
Twig_Error:: |
protected | function | ||
Twig_Error:: |
public | function | Sets the filename where the error occurred. | |
Twig_Error:: |
public | function | Sets the template line where the error occurred. | |
Twig_Error:: |
protected | function | ||
Twig_Error:: |
public | function | For PHP < 5.3.0, provides access to the getPrevious() method. | |
Twig_Sandbox_SecurityNotAllowedFilterError:: |
private | property | ||
Twig_Sandbox_SecurityNotAllowedFilterError:: |
public | function | ||
Twig_Sandbox_SecurityNotAllowedFilterError:: |
public | function |
Constructor. Overrides Twig_Error:: |