Freeder
 All Classes Files Functions Variables Pages
Public Member Functions | Protected Attributes | List of all members
RainTpl_SyntaxException Class Reference
Inheritance diagram for RainTpl_SyntaxException:
RainTpl_Exception

Public Member Functions

 getTemplateLine ()
 
 setTemplateLine ($templateLine)
 
 getTag ()
 
 setTag ($tag)
 
- Public Member Functions inherited from RainTpl_Exception
 getTemplateFile ()
 
 setTemplateFile ($templateFile)
 

Protected Attributes

 $templateLine = null
 
 $tag = null
 
- Protected Attributes inherited from RainTpl_Exception
 $templateFile = ''
 

Detailed Description

Exception thrown when syntax error occurs.

Member Function Documentation

RainTpl_SyntaxException::getTag ( )

Returns tag which caused an error.

Returns
string
RainTpl_SyntaxException::getTemplateLine ( )

Returns line in template file where error has occured or null if line is not defined.

Returns
int | null
RainTpl_SyntaxException::setTag (   $tag)

Sets tag which caused an error.

Parameters
string$tag
Returns
RainTpl_SyntaxException
RainTpl_SyntaxException::setTemplateLine (   $templateLine)

Sets line in template file where error has occured.

Parameters
int$templateLine
Returns
RainTpl_SyntaxException

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