[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/utils/ -> Cdb.php (summary)

Native CDB file reader and writer. 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: 163 lines (4 kb)
Included or required:0 times
Referenced: 3 times
Includes or requires: 0 files

Defines 1 class

CdbException:: (0 methods):

Defines 0 functions

  open()
  haveExtension()
  open()
  __destruct()
  isWindows()

Class: CdbException  - X-Ref

Exception for Cdb errors.
This explicitly doesn't subclass MWException to encourage reuse.

Functions
Functions that are not part of a class:

open( $fileName )   X-Ref
Open a file and return a subclass instance

param: string $fileName
return: CdbReader

haveExtension()   X-Ref
Returns true if the native extension is available

return: bool

open( $fileName )   X-Ref
Open a writer and return a subclass instance.
The user must have write access to the directory, for temporary file creation.

param: string $fileName
return: CdbWriterDBA|CdbWriterPHP

__destruct()   X-Ref
If the object goes out of scope, close it for sanity


isWindows()   X-Ref
Are we running on Windows?

return: bool



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