Path

ez components / documentation / api reference / 1.1.2 / template


eZ Components 1.1.2

Template: ezcTemplateVariableWrongDirectionException

[ Tutorial ] [ EBNF ] [ Functions ] [ Syntax ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcTemplateVariableWrongDirectionException

Exception for problems with direction of template variables. [source]

Parents

Exception
   |
   --ezcTemplateVariableWrongDirectionException

Inherited Member Variables

From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

Method Summary

public ezcTemplateVariableWrongDirectionException __construct( $name, $expected, $actual )
Initialises the exception with the name, expected and actual direction value. The error text is automatically generated.
public static void directionName( $dir )

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

ezcTemplateVariableWrongDirectionException __construct( string $name, int $expected, int $actual )
Initialises the exception with the name, expected and actual direction value. The error text is automatically generated.

Parameters

Name Type Description
$name string The name of the variable which has the wrong direction.
$actual int The actual direction value.
$expected int The expected direction value.

Redefinition of

Method Description
Exception::constructor __construct ( $message, $code )  

directionName

void directionName( $dir )

Parameters

Name Type Description
$dir  

Last updated: Thu, 01 Nov 2007