[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> sqlite.inc (summary)

Helper class for sqlite-specific scripts This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 93 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Sqlite:: (2 methods):
  isPresent()
  checkSqlSyntax()


Class: Sqlite  - X-Ref

This class contains code common to different SQLite-related maintenance scripts

isPresent()   X-Ref
Checks whether PHP has SQLite support

return: bool

checkSqlSyntax( $files )   X-Ref
Checks given files for correctness of SQL syntax. MySQL DDL will be converted to
SQLite-compatible during processing.
Will throw exceptions on SQL errors

param: array|string $files
return: bool True if no error or error string in case of errors



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1