Class: Doctrine_Sequence_Firebird
Source Location: /Doctrine/Sequence/Firebird.phpClass Doctrine_Sequence_Firebird
Class Overview
Doctrine_Sequence_Firebird Located in /Doctrine/Sequence/Firebird.php [line 33] Doctrine_Connection_Module | --Doctrine_Sequence | --Doctrine_Sequence_FirebirdAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Connection_Module |
Inherited From Doctrine_Sequence
Inherited From Doctrine_Connection_Module
|
[ Top ]
Method Summary
integer | currId() | Returns the current id of a sequence |
void | lastInsertId() | Returns the autoincrement ID if supported or $id or fetches the current ID in a sequence called: $table.(empty($field) ? '' : '_'.$field) |
integer | nextID() | Returns the next free id of a sequence |
[ Top ]
Properties
Methods
currId [line 89]
|
Returns the current id of a sequence
Parameters:string | $seqName: | name of the sequence |
API Tags:
Return: | current id in the given sequence |
Access: | public |
Redefinition of:
- Doctrine_Sequence::currId()
- Returns the current id of a sequence
[ Top ]
lastInsertId [line 78]
|
Returns the autoincrement ID if supported or $id or fetches the current ID in a sequence called: $table.(empty($field) ? '' : '_'.$field)
Parameters:string | $table: | name of the table into which a new row was inserted |
string | $field: | name of the field into which a new row was inserted |
API Tags:
Access: | public |
Redefinition of:
- Doctrine_Sequence::lastInsertId()
- Returns the autoincrement ID if supported or $id or fetches the current ID in a sequence called: $table.(empty($field) ? '' : '_'.$field)
[ Top ]
nextID [line 43]
|
Returns the next free id of a sequence
Parameters:string | $seqName: | name of the sequence |
bool | $onDemand: | when true missing sequences are automatic created |
API Tags:
Return: | next id in the given sequence |
Access: | public |
[ Top ]