Class: Doctrine_Schema_Relation
Source Location: /Doctrine/Schema/Relation.phpClass Doctrine_Schema_Relation
Class Overview
class Doctrine_Schema_Relation Holds information on a foreign key relation. Located in /Doctrine/Schema/Relation.php [line 40] Doctrine_Object | --Doctrine_Access | --Doctrine_Schema_Object | --Doctrine_Schema_RelationAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Schema_Object Inherited From Doctrine_Object |
Inherited From Doctrine_Schema_Object Inherited From Doctrine_Access
Inherited From Doctrine_Object
|
[ Top ]
Property Summary
static mixed | $ACTION_CASCADE | ON UPDATE or ON DELETE action |
static mixed | $ACTION_NO_ACTION | ON UPDATE or ON DELETE action |
static mixed | $ACTION_RESTRICT | ON UPDATE or ON DELETE action |
static mixed | $ACTION_SET_DEFAULT | ON UPDATE or ON DELETE action |
static mixed | $ACTION_SET_NULL | ON UPDATE or ON DELETE action |
mixed | $referencedColumn | Column that is referred from another table |
mixed | $referencedTable | Table where the referred column lives |
mixed | $referencingColumn | Column that refers to another table |
[ Top ]
Method Summary
Properties
static mixed
$ACTION_CASCADE
= 3 [line 81]
ON UPDATE or ON DELETE action
API Tags:Access: | public |
[ Top ]
static mixed
$ACTION_NO_ACTION
= 4 [line 88]
ON UPDATE or ON DELETE action
API Tags:Access: | public |
[ Top ]
static mixed
$ACTION_RESTRICT
= 1 [line 67]
ON UPDATE or ON DELETE action
API Tags:Access: | public |
[ Top ]
static mixed
$ACTION_SET_DEFAULT
= 5 [line 95]
ON UPDATE or ON DELETE action
API Tags:Access: | public |
[ Top ]
static mixed
$ACTION_SET_NULL
= 2 [line 74]
ON UPDATE or ON DELETE action
API Tags:Access: | public |
[ Top ]
mixed
$referencedColumn
[line 53]
Column that is referred from another table
API Tags:Access: | public |
[ Top ]
mixed
$referencedTable
[line 60]
Table where the referred column lives
API Tags:Access: | public |
[ Top ]
Methods
setRelationBetween [line 105]
|
Doctrine_Schema_Column | $referencingColumn: | referencing |
Doctrine_Schema_Table | $referencedTable: | referencedtable |
Doctrine_Schema_Column | $referencedColumn: | referencedColumn |
API Tags:
Access: | public |
[ Top ]