PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TTemplateException

TTemplateException class

TTemplateException represents an exception caused by invalid template syntax.

Exception
Extended by TException
Extended by TSystemException
Extended by TConfigurationException
Extended by TTemplateException
Package: System\Exceptions
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.1
Located at Exceptions/TException.php
Methods summary
public string
# getTemplateSource( )

Returns

string
the template source code that causes the exception. This is empty if getTemplateFile TemplateFile is not empty.
public
# setTemplateSource( string $value )

Parameters

$value
string
the template source code that causes the exception
public string
# getTemplateFile( )

Returns

string
the template file that causes the exception. This could be empty if the template is an embedded template. In this case, use getTemplateSource TemplateSource to obtain the actual template content.
public
# setTemplateFile( string $value )

Parameters

$value
string
the template file that causes the exception
public integer
# getLineNumber( )

Returns

integer
the line number at which the template has error
public
# setLineNumber( integer $value )

Parameters

$value
integer
the line number at which the template has error
Methods inherited from TException
__construct(), getErrorCode(), getErrorMessage(), getErrorMessageFile(), setErrorCode(), setErrorMessage(), translateErrorMessage()
Methods inherited from Exception
__toString(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from TException
$_messageCache
Properties inherited from Exception
$code, $file, $line, $message
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO