\Horde_Db_StatementParser

Class for parsing a stream into individual SQL statements.

Summary

Methods
Properties
Constants
__construct()
current()
key()
next()
rewind()
valid()
No public properties found
No constants found
_getNextStatement()
$_count
$_currentStatement
N/A
No private methods found
No private properties found
N/A

Properties

$_count

$_count : 

Type

$_currentStatement

$_currentStatement : 

Type

Methods

__construct()

__construct(  $file) 

Parameters

$file

current()

current() 

key()

key() 

next()

next() 

rewind()

rewind() 

valid()

valid() 

_getNextStatement()

_getNextStatement() : string

Read the next sql statement from our file. Statements are terminated by semicolons.

Returns

string —

The next SQL statement in the file.