creole.drivers.oracle
[ class tree: creole.drivers.oracle ] [ index: creole.drivers.oracle ] [ all elements ]

Class: OCI8IdGenerator

Source Location: /creole/drivers/oracle/OCI8IdGenerator.php

Class Overview

IdGenerator
   |
   --OCI8IdGenerator

Oracle (OCI8) IdGenerator implimenation.


Author(s):

Version:

  • $Revision: 1.4 $

Methods


Inherited Constants

Inherited Methods

Class: IdGenerator

IdGenerator::getId()
Get the autoincrement or sequence id given the current connection and any additional needed info (e.g. sequence name for sequences).
IdGenerator::getIdMethod()
Get the preferred type / style for generating ids for RDBMS.
IdGenerator::isAfterInsert()
Convenience method that returns TRUE if id is generated after an INSERT statement. This is the same as checking whether the generator type is AUTOINCREMENT.
IdGenerator::isBeforeInsert()
Convenience method that returns TRUE if id is generated before an INSERT statement. This is the same as checking whether the generator type is SEQUENCE.

Class Details

[line 12]
Oracle (OCI8) IdGenerator implimenation.



Tags:

version:  $Revision: 1.4 $
author:  Hans Lellelid <hans@xmpl.org>


[ Top ]


Class Methods


constructor __construct [line 22]

OCI8IdGenerator __construct( Connection $conn)

Creates a new IdGenerator class, saves passed connection for use later by getId() method.



Tags:

access:  public


Parameters:

Connection   $conn  

[ Top ]

method getId [line 54]

void getId( [mixed $name = null])



Tags:

access:  public
see:  IdGenerator::getId()


Overrides IdGenerator::getId() (Get the autoincrement or sequence id given the current connection and any additional needed info (e.g. sequence name for sequences).)

[ Top ]

method getIdMethod [line 46]

void getIdMethod( )



Tags:

access:  public
see:  IdGenerator::getIdMethod()


Overrides IdGenerator::getIdMethod() (Get the preferred type / style for generating ids for RDBMS.)

[ Top ]

method isAfterInsert [line 38]

void isAfterInsert( )



Tags:

access:  public
see:  IdGenerator::isAfterInsert()


Overrides IdGenerator::isAfterInsert() (Convenience method that returns TRUE if id is generated after an INSERT statement. This is the same as checking whether the generator type is AUTOINCREMENT.)

[ Top ]

method isBeforeInsert [line 30]

void isBeforeInsert( )



Tags:

access:  public
see:  IdGenerator::isBeforeInsert()


Overrides IdGenerator::isBeforeInsert() (Convenience method that returns TRUE if id is generated before an INSERT statement. This is the same as checking whether the generator type is SEQUENCE.)

[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:52:03 -0400 by phpDocumentor 1.3.0RC3