BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
MockFileBackend Class Reference
Inheritance diagram for MockFileBackend:
Collaboration diagram for MockFileBackend:

Protected Member Functions

 doGetLocalCopyMulti (array $params)
 
- Protected Member Functions inherited from MemoryFileBackend
 doCreateInternal (array $params)
 
 doStoreInternal (array $params)
 
 doCopyInternal (array $params)
 
 doDeleteInternal (array $params)
 
 doGetFileStat (array $params)
 
 doGetLocalCopyMulti (array $params)
 
 doStreamFile (array $params)
 
 doDirectoryExists ($container, $dir, array $params)
 
 directoriesAreVirtual ()
 
 resolveHashKey ($storagePath)
 
- Protected Member Functions inherited from FileBackendStore
 doCreateInternal (array $params)
 
 doStoreInternal (array $params)
 
 doCopyInternal (array $params)
 
 doDeleteInternal (array $params)
 
 doMoveInternal (array $params)
 
 doDescribeInternal (array $params)
 
 doConcatenate (array $params)
 
 doPrepare (array $params)
 
 doPrepareInternal ($container, $dir, array $params)
 
 doSecure (array $params)
 
 doSecureInternal ($container, $dir, array $params)
 
 doPublish (array $params)
 
 doPublishInternal ($container, $dir, array $params)
 
 doClean (array $params)
 
 doCleanInternal ($container, $dir, array $params)
 
 doGetFileStat (array $params)
 
 doGetFileContentsMulti (array $params)
 
 doGetFileXAttributes (array $params)
 
 doGetFileSha1Base36 (array $params)
 
 doGetLocalReferenceMulti (array $params)
 
 doGetLocalCopyMulti (array $params)
 
 doStreamFile (array $params)
 
 doDirectoryExists ($container, $dir, array $params)
 
 doOperationsInternal (array $ops, array $opts)
 
 doQuickOperationsInternal (array $ops)
 
 doExecuteOpHandlesInternal (array $fileOpHandles)
 
 sanitizeOpHeaders (array $op)
 
 doClearCache (array $paths=null)
 
 doGetFileStatMulti (array $params)
 
 directoriesAreVirtual ()
 
 resolveStoragePath ($storagePath)
 
 resolveStoragePathReal ($storagePath)
 
 getContainerShard ($container, $relPath)
 
 getContainerHashLevels ($container)
 
 getContainerSuffixes ($container)
 
 fullContainerName ($container)
 
 resolveContainerName ($container)
 
 resolveContainerPath ($container, $relStoragePath)
 
 setContainerCache ($container, array $val)
 
 deleteContainerCache ($container)
 
 primeContainerCache (array $items)
 
 doPrimeContainerCache (array $containerInfo)
 
 setFileCache ($path, array $val)
 
 deleteFileCache ($path)
 
 primeFileCache (array $items)
 
 setConcurrencyFlags (array $opts)
 
 getContentType ($storagePath, $content, $fsPath)
 
- Protected Member Functions inherited from FileBackend
 doOperationsInternal (array $ops, array $opts)
 
 doQuickOperationsInternal (array $ops)
 
 doPrepare (array $params)
 
 doSecure (array $params)
 
 doPublish (array $params)
 
 doClean (array $params)
 
 getScopedPHPBehaviorForOps ()
 
 resolveFSFileObjects (array $ops)
 

Additional Inherited Members

- Public Member Functions inherited from MemoryFileBackend
 getFeatures ()
 
 isPathUsableInternal ($storagePath)
 
 getDirectoryListInternal ($container, $dir, array $params)
 
 getFileListInternal ($container, $dir, array $params)
 
- Public Member Functions inherited from FileBackendStore
 __construct (array $config)
 
 maxFileSizeInternal ()
 
 isPathUsableInternal ($storagePath)
 
 createInternal (array $params)
 
 storeInternal (array $params)
 
 copyInternal (array $params)
 
 deleteInternal (array $params)
 
 moveInternal (array $params)
 
 describeInternal (array $params)
 
 nullInternal (array $params)
 
 concatenate (array $params)
 
 fileExists (array $params)
 
 getFileTimestamp (array $params)
 
 getFileSize (array $params)
 
 getFileStat (array $params)
 
 getFileContentsMulti (array $params)
 
 getFileXAttributes (array $params)
 
 getFileSha1Base36 (array $params)
 
 getFileProps (array $params)
 
 getLocalReferenceMulti (array $params)
 
 getLocalCopyMulti (array $params)
 
 getFileHttpUrl (array $params)
 
 streamFile (array $params)
 
 directoryExists (array $params)
 
 getDirectoryList (array $params)
 
 getDirectoryListInternal ($container, $dir, array $params)
 
 getFileList (array $params)
 
 getFileListInternal ($container, $dir, array $params)
 
 getOperationsInternal (array $ops)
 
 getPathsToLockForOpsInternal (array $performOps)
 
 getScopedLocksForOps (array $ops, Status $status)
 
 executeOpHandlesInternal (array $fileOpHandles)
 
 preloadCache (array $paths)
 
 clearCache (array $paths=null)
 
 preloadFileStat (array $params)
 
 isSingleShardPathInternal ($storagePath)
 
- Public Member Functions inherited from FileBackend
 __construct (array $config)
 
 getName ()
 
 getWikiId ()
 
 isReadOnly ()
 
 getReadOnlyReason ()
 
 getFeatures ()
 
 hasFeatures ($bitfield)
 
 doOperations (array $ops, array $opts=[])
 
 doOperation (array $op, array $opts=[])
 
 create (array $params, array $opts=[])
 
 store (array $params, array $opts=[])
 
 copy (array $params, array $opts=[])
 
 move (array $params, array $opts=[])
 
 delete (array $params, array $opts=[])
 
 describe (array $params, array $opts=[])
 
 doQuickOperations (array $ops, array $opts=[])
 
 doQuickOperation (array $op)
 
 quickCreate (array $params)
 
 quickStore (array $params)
 
 quickCopy (array $params)
 
 quickMove (array $params)
 
 quickDelete (array $params)
 
 quickDescribe (array $params)
 
 concatenate (array $params)
 
 prepare (array $params)
 
 secure (array $params)
 
 publish (array $params)
 
 clean (array $params)
 
 fileExists (array $params)
 
 getFileTimestamp (array $params)
 
 getFileContents (array $params)
 
 getFileContentsMulti (array $params)
 
 getFileXAttributes (array $params)
 
 getFileSize (array $params)
 
 getFileStat (array $params)
 
 getFileSha1Base36 (array $params)
 
 getFileProps (array $params)
 
 streamFile (array $params)
 
 getLocalReference (array $params)
 
 getLocalReferenceMulti (array $params)
 
 getLocalCopy (array $params)
 
 getLocalCopyMulti (array $params)
 
 getFileHttpUrl (array $params)
 
 directoryExists (array $params)
 
 getDirectoryList (array $params)
 
 getTopDirectoryList (array $params)
 
 getFileList (array $params)
 
 getTopFileList (array $params)
 
 preloadCache (array $paths)
 
 clearCache (array $paths=null)
 
 preloadFileStat (array $params)
 
 lockFiles (array $paths, $type, $timeout=0)
 
 unlockFiles (array $paths, $type)
 
 getScopedFileLocks (array $paths, $type, Status $status, $timeout=0)
 
 getScopedLocksForOps (array $ops, Status $status)
 
 getRootStoragePath ()
 
 getContainerStoragePath ($container)
 
 getJournal ()
 
- Static Public Member Functions inherited from FileBackend
static isStoragePath ($path)
 
static splitStoragePath ($storagePath)
 
static normalizeStoragePath ($storagePath)
 
static parentStoragePath ($storagePath)
 
static extensionFromPath ($path, $case= 'lowercase')
 
static isPathTraversalFree ($path)
 
static makeContentDisposition ($type, $filename= '')
 
- Public Attributes inherited from FileBackendStore
const CACHE_TTL = 10
 
const CACHE_CHEAP_SIZE = 500
 
const CACHE_EXPENSIVE_SIZE = 5
 
- Public Attributes inherited from FileBackend
const ATTR_HEADERS = 1
 
const ATTR_METADATA = 2
 
const ATTR_UNICODE_PATHS = 4
 
- Static Protected Member Functions inherited from FileBackendStore
static isValidShortContainerName ($container)
 
static isValidContainerName ($container)
 
static normalizeXAttributes (array $xattr)
 
- Static Protected Member Functions inherited from FileBackend
static normalizeContainerPath ($path)
 
- Protected Attributes inherited from MemoryFileBackend
 $files = []
 
- Protected Attributes inherited from FileBackendStore
 $memCache
 
 $cheapCache
 
 $expensiveCache
 
 $shardViaHashLevels = []
 
 $mimeCallback
 
 $maxFileSize = 4294967296
 
- Protected Attributes inherited from FileBackend
 $name
 
 $wikiId
 
 $readOnly
 
 $parallelize
 
 $concurrency
 
 $lockManager
 
 $fileJournal
 

Detailed Description

Class simulating a backend store.

Since
1.22

The documentation for this class was generated from the following file: