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_DeleteDetailRec

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

Class Overview


This class delete a record from the given table, field;


Author(s):

Variables

Methods



Class Details

[line 9]
This class delete a record from the given table, field;



Tags:

access:  public


[ Top ]


Class Variables

$field =

[line 27]

Name of the field



Tags:

access:  public

Type:   string


[ Top ]

$table =

[line 21]

name of the table



Tags:

access:  public

Type:   string


[ Top ]

$tNG =

[line 15]

The reference to transaction object



Tags:

var:  transaction object
access:  public

Type:   object tNG


[ Top ]



Class Methods


constructor tNG_DeleteDetailRec [line 34]

tNG_DeleteDetailRec tNG_DeleteDetailRec( object tNG &$tNG)

Constructor. Sets the transaction and some defaults values for table/field.



Tags:

access:  public


Parameters:

object tNG   &$tNG   The reference to transaction object

[ Top ]

method Execute [line 60]

void Execute( )

contruct the SQL and execute it. it is using as value for the field the primarey key value from the transaction;

return mix null or error object;




Tags:

access:  public


[ Top ]

method setFieldName [line 52]

void setFieldName( string $field)

setter. sets the name of the field



Tags:

access:  public


Parameters:

string   $field  

[ Top ]

method setTable [line 44]

void setTable( string $table)

setter. sets the name of the table



Tags:

access:  public


Parameters:

string   $table  

[ Top ]



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