Public Member Functions | |
KjwXmlSql ($server, $unused_port, $unused_user, $unused_pass, $path) | |
Construct a KjwXmlSql object. | |
insertId () | |
Returns the id of the last INSERT clause that uses an IDENTITY/SEQUENCE/AUTO_INCREMENT value. | |
_simpleSelect ($table, $columns, $order, $skip=0, $max=-1) | |
_simpleInsert ($table, $args) | |
Public Attributes | |
$_dbpath = null | |
$_last_insert_id = null |
It does not support much SQL at all. It's supposed to be a temporary solution for tiny database needs. Don't use this for anything larger than a tiny guestbook or some other small thing.
Definition at line 42 of file KjwXmlSql.php.
KjwXmlSql::insertId | ( | ) |
Returns the id of the last INSERT clause that uses an IDENTITY/SEQUENCE/AUTO_INCREMENT value.
Reimplemented from KjwSql.
Definition at line 69 of file KjwXmlSql.php.
KjwXmlSql::KjwXmlSql | ( | $ | server, | |
$ | unused_port, | |||
$ | unused_user, | |||
$ | unused_pass, | |||
$ | path | |||
) |
Construct a KjwXmlSql object.
$server | Must be 'localhost' as we'll be using local files. | |
$unused_port | Unused, must be a zero. | |
$unused_user | Username, must be an empty string. | |
$unused_pass | Password, must be an empty string. | |
$path | Path to the xml/lock files, should be writable. |
Definition at line 55 of file KjwXmlSql.php.
References KjwFakeSql::KjwFakeSql().