Public Member Functions | Static Public Member Functions | Protected Member Functions

WTcontact Class Reference

Inheritance diagram for WTcontact:
WobTable

List of all members.

Public Member Functions

 getObjectForcontacttypeid ()
 getObjectForcustomerid ()
 hasProperty ($p)
 overridden by woc, returns true if the property exists
 newKey ()
 generate a new primary key value for insert and marks the object as not yet in the DB; the default sets the primary key to NULL if it is a sequence; call the original first if you overwrite it

Static Public Member Functions

static getFromDB ($contactid)
static newRow (array $data=array())
static selectFromDB ($where="", $orderby="")

Protected Member Functions

 __construct (array $data, $isfromdb)

Constructor & Destructor Documentation

WTcontact::__construct ( array $  data,
isfromdb 
) [protected]

Member Function Documentation

static WTcontact::getFromDB ( contactid  )  [static]

References $db.

Referenced by WOCustomer::changeCustomer().

WTcontact::getObjectForcontacttypeid (  ) 

References $db, and selectFromDB().

WTcontact::getObjectForcustomerid (  ) 

References $db, and selectFromDB().

WTcontact::hasProperty ( c  ) 

overridden by woc, returns true if the property exists

Reimplemented from WobTable.

WTcontact::newKey (  ) 

generate a new primary key value for insert and marks the object as not yet in the DB; the default sets the primary key to NULL if it is a sequence; call the original first if you overwrite it

Reimplemented from WobTable.

static WTcontact::newRow ( array $  data = array()  )  [static]
static WTcontact::selectFromDB ( where = "",
orderby = "" 
) [static]

The documentation for this class was generated from the following file: