ForeignChangeAction Class Reference
[Dynamic query builder]

Inheritance diagram for ForeignChangeAction:

Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static noAction ()
 
Returns:
ForeignChangeAction

static restrict ()
 
Returns:
ForeignChangeAction

static cascade ()
 
Returns:
ForeignChangeAction

static setNull ()
 
Returns:
ForeignChangeAction

static setDefault ()
 
Returns:
ForeignChangeAction


Public Attributes

const NO_ACTION = 0x01
const RESTRICT = 0x02
const CASCADE = 0x03
const SET_NULL = 0x04
const SET_DEFAULT = 0x05

Protected Attributes

 $names


Detailed Description

Definition at line 16 of file ForeignChangeAction.class.php.


Member Function Documentation

static ForeignChangeAction::noAction (  )  [static]

Returns:
ForeignChangeAction

Definition at line 35 of file ForeignChangeAction.class.php.

static ForeignChangeAction::restrict (  )  [static]

Returns:
ForeignChangeAction

Definition at line 43 of file ForeignChangeAction.class.php.

Referenced by SchemaBuilder::buildRelations().

static ForeignChangeAction::cascade (  )  [static]

Returns:
ForeignChangeAction

Definition at line 51 of file ForeignChangeAction.class.php.

Referenced by SchemaBuilder::buildRelations().

static ForeignChangeAction::setNull (  )  [static]

Returns:
ForeignChangeAction

Definition at line 59 of file ForeignChangeAction.class.php.

static ForeignChangeAction::setDefault (  )  [static]

Returns:
ForeignChangeAction

Definition at line 67 of file ForeignChangeAction.class.php.


Member Data Documentation

const ForeignChangeAction::NO_ACTION = 0x01

Definition at line 18 of file ForeignChangeAction.class.php.

const ForeignChangeAction::RESTRICT = 0x02

Definition at line 19 of file ForeignChangeAction.class.php.

const ForeignChangeAction::CASCADE = 0x03

Definition at line 20 of file ForeignChangeAction.class.php.

const ForeignChangeAction::SET_NULL = 0x04

Definition at line 21 of file ForeignChangeAction.class.php.

const ForeignChangeAction::SET_DEFAULT = 0x05

Definition at line 22 of file ForeignChangeAction.class.php.

ForeignChangeAction::$names [protected]

Initial value:

 array(
            self::NO_ACTION     => 'NO ACTION', // default one
            self::RESTRICT      => 'RESTRICT',
            self::CASCADE       => 'CASCADE',
            self::SET_NULL      => 'SET NULL',
            self::SET_DEFAULT   => 'SET DEFAULT'
        )

Reimplemented from Enumeration.

Definition at line 24 of file ForeignChangeAction.class.php.


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:26 2007 for onPHP by  doxygen 1.5.4