Class Xyster_Db_ReferentialAction

Description

SQL referential action enumerated type

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • license: New BSD License

Located in /Db/ReferentialAction.php (line 28)

Xyster_Enum
   |
   --Xyster_Db_ReferentialAction
Class Constant Summary
Variable Summary
static mixed $_sql
Method Summary
Variables
static mixed $_sql = array(
0 => 'CASCADE',
1 => 'RESTRICT',
2 => 'NO ACTION',
3 => 'SET NULL',
4 => 'SET DEFAULT'
)
(line 36)
  • access: protected
Methods
static method Cascade (line 59)

The CASCADE action

  • access: public
static Xyster_Db_ReferentialAction Cascade ()
static method NoAction (line 79)

The NO ACTION action

  • access: public
static Xyster_Db_ReferentialAction NoAction ()
static method Restrict (line 69)

The RESTRICT action

  • access: public
static Xyster_Db_ReferentialAction Restrict ()
static method SetDefault (line 99)

The SET DEFAULT action

  • access: public
static Xyster_Db_ReferentialAction SetDefault ()
static method SetNull (line 89)

The SET NULL action

  • access: public
static Xyster_Db_ReferentialAction SetNull ()
getSql (line 49)

Gets the SQL syntax for the action

  • access: public
string getSql ()

Inherited Methods

Inherited From Xyster_Enum

Xyster_Enum::__construct()
Xyster_Enum::getName()
Xyster_Enum::getValue()
Xyster_Enum::parse()
Xyster_Enum::valueOf()
Xyster_Enum::values()
Xyster_Enum::_factory()
Xyster_Enum::__clone()
Xyster_Enum::__toString()
Class Constants
Cascade = 0 (line 30)
NoAction = 2 (line 32)
Restrict = 1 (line 31)
SetDefault = 4 (line 34)
SetNull = 3 (line 33)

Documentation generated on Mon, 19 May 2008 17:07:31 -0400 by phpDocumentor 1.4.2