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_SetOrderField

Source Location: /tNG3/triggers/tNG_SetOrderField.class.php

Class Overview


class that handle the order behavior for a table (a column that is used exclusively to order the table records);


Author(s):

Variables

Methods



Class Details

[line 9]
class that handle the order behavior for a table (a column that is used exclusively to order the table records);



Tags:

access:  public


[ Top ]


Class Variables

$field =

[line 27]

order field name



Tags:

access:  public

Type:   string


[ Top ]

$mode =

[line 33]

if the record will inserted first or last from the point of view of order



Tags:

access:  public

Type:   string


[ Top ]

$table =

[line 21]

table name



Tags:

access:  public

Type:   string


[ Top ]

$tNG =

[line 15]

transaction



Tags:

access:  public

Type:   object tNG


[ Top ]



Class Methods


constructor tNG_SetOrderField [line 39]

tNG_SetOrderField tNG_SetOrderField( object tNG &$tNG)

Constructor. set transaction and default values for other fields



Tags:

access:  public


Parameters:

object tNG   &$tNG   transaction

[ Top ]

method Execute [line 70]

mix Execute( )

Main method of the class. Update the value of the order column;



Tags:

return:  null or error object
access:  public


[ Top ]

method setFieldName [line 62]

void setFieldName( string $field)

setter. set field name



Tags:

access:  public


Parameters:

string   $field  

[ Top ]

method setTable [line 54]

void setTable( string $table)

setter. set table name



Tags:

access:  public


Parameters:

string   $table  

[ Top ]



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