array SQLStatementExtractor::extractFile
(
$filename
)
[static]
|
Get SQL statements from file.
|
array SQLStatementExtractor::extract
(
$buffer
)
[static]
|
Extract statements from string.
|
string SQLStatementExtractor::extractStatements
(
$lines
)
[static, protected]
|
Extract SQL statements from array of lines.
|
SQLStatementExtractor::startsWith ( $check, $string ) |
tests if a string starts with a given string |
SQLStatementExtractor::endsWith ( $check, $string ) |
tests if a string ends with a given string |
SQLStatementExtractor::substring
(
$string,
$startpos,
$endpos = -1
)
|
a natural way of getting a subtring, php's circular string buffer and strange return values suck if you want to program strict as of C or friends |
array SQLStatementExtractor::getLines
(
$buffer
)
[static, protected]
|
Convert string buffer into array of lines.
|
SQLStatementExtractor::$delimiter = ';' [static, protected]
|
|
This file is part of the Creole[php5] library.
Copyright © 2004 Hans Lellelid |   |
Creole[php5] CVS
|