Transaction Engine 3 Application Programming Interface
[ class tree: Transaction Engine 3 Application Programming Interface ] [ index: Transaction Engine 3 Application Programming Interface ] [ all elements ]

Class: tNG_dispatcher

Source Location: /tNG3/tNG_dispatcher.class.php

Class Overview


The dispatcher class, that handles all the transactions in a page.


Author(s):

Variables

Methods



Class Details

[line 10]
The dispatcher class, that handles all the transactions in a page.



Tags:

access:  public


[ Top ]


Class Variables

$relPath =  ""

[line 31]

The relative path of the current tNG_dispathcer



Tags:

access:  public

Type:   string


[ Top ]

$UnivalProps = array()

[line 25]


Type:   mixed


[ Top ]



Class Methods


constructor tNG_dispatcher [line 44]

tNG_dispatcher tNG_dispatcher( string $relPath)

Constructor. Set the value of relative path



Tags:

access:  public


Parameters:

string   $relPath   The relative path of the current tNG_dispathcer

[ Top ]

method addTransaction [line 52]

void addTransaction( object tNG &$tNG)

Adds a transaction to the current dispatcher



Tags:

access:  public


Parameters:

object tNG   &$tNG   - the transaction to add

[ Top ]

method displayFieldError [line 206]

string displayFieldError( string $tableName, string $fieldName, [mixed $cnt = 1])

return the error for the field



Tags:

return:  error for the field
access:  public


Parameters:

string   $tableName  
string   $fieldName  

[ Top ]

method displayFieldHint [line 192]

string displayFieldHint( string $fieldName)

Gets the hint for the fieldname



Tags:

return:  hint
access:  public


Parameters:

string   $fieldName  

[ Top ]

method displayValidationRules [line 134]

string displayValidationRules( )

construct the JS to be used in page for client side validation



Tags:

access:  public


[ Top ]

method executeTransactions [line 122]

void executeTransactions( )

Executes the linked transactions, one by one



Tags:

access:  public


[ Top ]

method getErrorMsg [line 272]

string getErrorMsg( )

return the error message



Tags:

return:  transaction type
access:  public


[ Top ]

method getLoginMsg [line 390]

void getLoginMsg( )

Returns the messages for the Login Page



Tags:

access:  public


[ Top ]

method getRecordset [line 64]

object RedourceID getRecordset( string $tableName)

Gets the correct recordset from the transactions



Tags:

return:  the Recordset Resource ID
access:  public


Parameters:

string   $tableName  
  • the table to search

[ Top ]

method prepareValidation [line 232]

string prepareValidation( mixed &$uniVal, object $unival)

prepair the validation



Tags:

return:  transaction type
access:  public


Parameters:

object   $unival  

[ Top ]



Documentation generated on Tue, 6 Dec 2005 15:11:40 +0200 by phpDocumentor 1.3.0RC3