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

Class: ODBCIdGenerator

Source Location: /creole/drivers/odbc/ODBCIdGenerator.php

Class Overview


ODBC IdGenerator implimenation.


Author(s):

Version:

  • $Revision: 1.1 $

Methods



Class Details

[line 16]
ODBC IdGenerator implimenation.

NOTE: I tried keeping the SQL as basic as possible in this class. If you need something more optimized, derive your own IdGenerator and use ODBCAdapter::getIdGenerator() to use it.




Tags:

version:  $Revision: 1.1 $
author:  Dave Lawson <dlawson@masterytech.com>


[ Top ]


Class Methods


constructor __construct [line 26]

ODBCIdGenerator __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 create [line 100]

void create( mixed $seqname)

Creates the sequence emulation table.



Tags:

access:  public


[ Top ]

method drop [line 109]

void drop( mixed $seqname, [mixed $ignoreerrs = false])

Drops the sequence emulation table.



Tags:

access:  public


[ Top ]

method getId [line 58]

void getId( [mixed $seqname = null])



Tags:

access:  public
see:  IdGenerator::getId()


[ Top ]

method getIdMethod [line 50]

void getIdMethod( )



Tags:

access:  public
see:  IdGenerator::getIdMethod()


[ Top ]

method isAfterInsert [line 42]

void isAfterInsert( )



Tags:

access:  public
see:  IdGenerator::isAfterInsert()


[ Top ]

method isBeforeInsert [line 34]

void isBeforeInsert( )



Tags:

access:  public
see:  IdGenerator::isBeforeInsert()


[ Top ]


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