onPHP

Queue Class Reference

 

Queue Class Reference
[Connectors and dialects for various databases]

OSQL's queries queue. More...

Inheritance diagram for Queue:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 getId ()
 setId ($id)
 getQueue ()
 add (Query $query)
 remove (Query $query)
 drop ()
 run (DB $db)
 flush (DB $db)
 toString ()
 toDialectString (Dialect $dialect)

Static Public Member Functions

static create ()

Private Attributes

 $queue = array()

Detailed Description

OSQL's queries queue.

See also:
OSQL
Todo:
introduce DBs without multi-query support handling

Definition at line 22 of file Queue.class.php.


Member Function Documentation

static Queue::create (  )  [static]

Definition at line 26 of file Queue.class.php.

Queue::getId (  ) 

Implements Identifiable.

Definition at line 31 of file Queue.class.php.

Queue::setId ( id  ) 

Implements Identifiable.

Definition at line 36 of file Queue.class.php.

Queue::getQueue (  ) 

Definition at line 41 of file Queue.class.php.

Queue::add ( Query query  ) 

Definition at line 46 of file Queue.class.php.

Queue::remove ( Query query  ) 

Definition at line 53 of file Queue.class.php.

Queue::drop (  ) 

Definition at line 63 of file Queue.class.php.

Queue::run ( DB db  ) 

Definition at line 70 of file Queue.class.php.

References DB::queryRaw(), and toDialectString().

Referenced by flush().

Here is the call graph for this function:

Queue::flush ( DB db  ) 

Definition at line 77 of file Queue.class.php.

References run().

Here is the call graph for this function:

Queue::toString (  ) 

Implements Stringable.

Definition at line 83 of file Queue.class.php.

References ImaginaryDialect::me(), and toDialectString().

Here is the call graph for this function:

Queue::toDialectString ( Dialect dialect  ) 

Implements DialectString.

Definition at line 88 of file Queue.class.php.

References $out.

Referenced by run(), and toString().


Member Data Documentation

Queue::$queue = array() [private]

Definition at line 24 of file Queue.class.php.


The documentation for this class was generated from the following file:

generated by doxygen-1.5.1
for onPHP at Mon Jan 8 11:43:55 2007