Template: ezcTemplateVariableWrongTypeException
[ ]
[ EBNF ] [ Functions ] [ Syntax ]
[ ]
[ ]
[ ]
[ ]
Class: ezcTemplateVariableWrongTypeException
|
Exception for problems with type of template variables. [
source]
Parents
Exception
|
--ezcTemplateVariableWrongTypeException
Inherited Member Variables
From
Exception (Internal Class):
|
protected |
$code
|
|
protected |
$file
|
|
protected |
$line
|
|
protected |
$message
|
|
private |
$string
|
|
private |
$trace
|
Method Summary
|
public ezcTemplateVariableWrongTypeException |
__construct(
$name, $expected, $actual )
Initialises the exception with the name, expected and actual type value. The error text is automatically generated. |
Inherited Methods
From
Exception (Internal Class) :
|
public Exception |
constructor __construct ( $message, $code )
|
|
public void |
getCode ( )
|
|
public void |
getFile ( )
|
|
public void |
getLine ( )
|
|
public void |
getMessage ( )
|
|
public void |
getTrace ( )
|
|
public void |
getTraceAsString ( )
|
|
public void |
__clone ( )
|
|
public void |
__toString ( )
|
Methods
__construct
ezcTemplateVariableWrongTypeException __construct(
string
$name, int
$expected, int
$actual )
Initialises the exception with the name, expected and actual type value. The error text is automatically generated.
Parameters
| Name |
Type |
Description |
$name |
string |
The name of the variable which has the wrong type. |
$actual |
int |
The actual type value. |
$expected |
int |
The expected type value. |
Redefinition of
| Method |
Description |
Exception::constructor __construct ( $message, $code ) |
|
Last updated: Thu, 01 Nov 2007