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_ManyToMany

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

Class Overview


many to many class;


Author(s):

Variables

Methods



Class Details

[line 9]
many to many class;



Tags:

access:  public


[ Top ]


Class Variables

$fkName =

[line 33]

foreign key name



Tags:

access:  public

Type:   string


[ Top ]

$fkReference =

[line 39]

reference to the foreign key



Tags:

var:  tNG
access:  public

Type:   string


[ Top ]

$pkName =

[line 27]

primarey key name



Tags:

access:  public

Type:   string


[ Top ]

$table =

[line 21]

table name



Tags:

access:  public

Type:   string


[ Top ]

$tNG =

[line 15]

transaction object



Tags:

access:  public

Type:   object tNG


[ Top ]



Class Methods


constructor tNG_ManyToMany [line 50]

tNG_ManyToMany tNG_ManyToMany( object tNG &$tNG)

Constructor. set tNG object and default values for other variables



Tags:

access:  public


Parameters:

object tNG   &$tNG   transaction

[ Top ]

method Execute [line 139]

mix Execute( )

Main method of the class. Execute the code.

Insert the new values and delete the old values




Tags:

return:  null or error object
access:  public


[ Top ]

method getOldValues [line 117]

array getOldValues( )

Get all the old values for foreign key into an array



Tags:

access:  public


[ Top ]

method getValues [line 94]

array getValues( )

Get all the new values for foreign key into an array



Tags:

access:  public


[ Top ]

method setFkName [line 78]

void setFkName( string $fkName)

setter. set foreign key name



Tags:

access:  public


Parameters:

string   $fkName  

[ Top ]

method setFkReference [line 86]

void setFkReference( string $fkReference)

setter. set foreign key reference



Tags:

access:  public


Parameters:

string   $fkReference  

[ Top ]

method setPkName [line 70]

void setPkName( string $pkName)

setter. set primary key name



Tags:

access:  public


Parameters:

string   $pkName  

[ Top ]

method setTable [line 62]

void setTable( string $table)

setter. set the table name



Tags:

access:  public


Parameters:

string   $table  

[ Top ]



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