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_CheckDetailRecord

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

Class Overview

tNG_CheckTableField
   |
   --tNG_CheckDetailRecord

This the CheckDetailRecord trigger; extends the tNG_CheckTableField class; Checks if exists a master record; it is used inside of a trigger registered to a transaction.


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: tNG_CheckTableField

tNG_CheckTableField::tNG_CheckTableField()
Constructor. Sets the reference to the transaction in which the trigger is used.
tNG_CheckTableField::errorIfExists()
setter. if it will be throw error in case the records exists;
tNG_CheckTableField::Execute()
execute method of the class;
tNG_CheckTableField::setErrorMsg()
setter. set the error message
tNG_CheckTableField::setFieldName()
setter. set the field name
tNG_CheckTableField::setFieldType()
setter. set the field type
tNG_CheckTableField::setFieldValue()
setter. set the field value
tNG_CheckTableField::setTable()
setter. set the table name

Class Details

[line 10]
This the CheckDetailRecord trigger; extends the tNG_CheckTableField class; Checks if exists a master record; it is used inside of a trigger registered to a transaction.



Tags:

access:  public


[ Top ]


Class Methods


constructor tNG_CheckDetailRecord [line 17]

tNG_CheckDetailRecord tNG_CheckDetailRecord( object tNG &$tNG)

Constructor. Sets the reference to the transaction in which the trigger is used.



Tags:

access:  public


Parameters:

object tNG   &$tNG   reference to transaction object

[ Top ]

method Execute [line 27]

mix Execute( none 0)

execute method of the class; check if detail record exists and return null or error;



Tags:

return:  null or error object if records exists;
access:  public


Overrides tNG_CheckTableField::Execute() (execute method of the class;)

Parameters:

none   0  

[ Top ]



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