[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/filebackend/ -> FileBackendGroup.php (summary)

File backend registration handling. 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.

Author: Aaron Schulz
File Size: 199 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FileBackendGroup:: (8 methods):
  __construct()
  singleton()
  destroySingleton()
  initFromGlobals()
  register()
  get()
  config()
  backendFromPath()


Class: FileBackendGroup  - X-Ref

Class to handle file backend registration

__construct()   X-Ref
No description

singleton()   X-Ref

return: FileBackendGroup

destroySingleton()   X-Ref
Destroy the singleton instance


initFromGlobals()   X-Ref
Register file backends from the global variables


register( array $configs )   X-Ref
Register an array of file backend configurations

param: array $configs

get( $name )   X-Ref
Get the backend object with a given name

param: string $name
return: FileBackend

config( $name )   X-Ref
Get the config array for a backend object with a given name

param: string $name
return: array

backendFromPath( $storagePath )   X-Ref
Get an appropriate backend object from a storage path

param: string $storagePath
return: FileBackend|null Backend or null on failure



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