PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions
Twig_Error_Loader Class Reference

Exception thrown when an error occurs during template loading. More...

Inheritance diagram for Twig_Error_Loader:
Twig_Error

Public Member Functions

 __construct ($message, $lineno=-1, $filename=null, Exception $previous=null)
 
- Public Member Functions inherited from Twig_Error
 __construct ($message, $lineno=-1, $filename=null, Exception $previous=null)
 Constructor. More...
 
 getRawMessage ()
 Gets the raw message. More...
 
 getTemplateFile ()
 Gets the filename where the error occurred. More...
 
 setTemplateFile ($filename)
 Sets the filename 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...
 
 guess ()
 
 __call ($method, $arguments)
 For PHP < 5.3.0, provides access to the getPrevious() method. More...
 

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 an error occurs during template loading.

Automatic template information guessing is always turned off as if a template cannot be loaded, there is nothing to guess. However, when a template is loaded from another one, then, we need to find the current context and this is automatically done by Twig_Template::displayWithErrorHandling().

This strategy makes Twig_Environment::resolveTemplate() much faster.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Definition at line 25 of file Loader.php.

Constructor & Destructor Documentation

__construct (   $message,
  $lineno = -1,
  $filename = null,
Exception  $previous = null 
)

Definition at line 27 of file Loader.php.


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

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:44 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.