Class DB_dbconstraint

Description

Defines a database constraint.

Located in /pg-schema-defs.php (line 259)

SchemaObject
   |
   --dbconstraint
      |
      --DB_dbconstraint
Variable Summary
 mixed $fieldnums
 mixed $fk_table
 mixed $table
Method Summary
 DB_dbconstraint DB_dbconstraint (mixed &$schema, mixed $name, [mixed $type = "p"], [mixed $table = ""], [mixed $fktable = ""], [mixed $flds = ""], [mixed $fkflds = ""], [mixed $updact = ""], [mixed $delact = ""], [mixed $match = ""], [mixed $cksrc = ""])
 void getschema ()
Variables
mixed $fieldnums = array() (line 261)

Field positions for fields constraint applies to

mixed $fk_fieldnums = array() (line 263)

Field positions for fields FK constraint refers to

mixed $fk_table = "" (line 267)

Table (object) constraint refers to

mixed $table = "" (line 265)

Table (object) to apply constraint to

Inherited Variables

Inherited from dbconstraint

dbconstraint::$cksrc
dbconstraint::$deferrable
dbconstraint::$deferred
dbconstraint::$delete_action
dbconstraint::$fieldnames
dbconstraint::$fk_fieldnames
dbconstraint::$fk_tablename
dbconstraint::$match_type
dbconstraint::$tablename
dbconstraint::$type
dbconstraint::$update_action

Inherited from SchemaObject

SchemaObject::$name
SchemaObject::$schema
Methods
Constructor DB_dbconstraint (line 269)
DB_dbconstraint DB_dbconstraint (mixed &$schema, mixed $name, [mixed $type = "p"], [mixed $table = ""], [mixed $fktable = ""], [mixed $flds = ""], [mixed $fkflds = ""], [mixed $updact = ""], [mixed $delact = ""], [mixed $match = ""], [mixed $cksrc = ""])
getschema (line 275)

Obtain constraint schema information.

void getschema ()

Redefinition of:
dbconstraint::getschema()
Acquires the schema from database metadata.

Inherited Methods

Inherited From dbconstraint

 dbconstraint::dbconstraint()
 dbconstraint::create()
 dbconstraint::create_inline()
 dbconstraint::drop()
 dbconstraint::dump()
 dbconstraint::fields()
 dbconstraint::fk_fields()
 dbconstraint::getschema()
 dbconstraint::matches()
 dbconstraint::set()

Inherited From SchemaObject

 SchemaObject::SchemaObject()

Documentation generated by phpDocumentor 1.3.0RC3