Horde_Core_Nosql
in package
NoSQL administrative/utility tasks.
Tags
Table of Contents
Constants
- HAS_INDICES = 1
- NEEDS_INDICES = 2
Methods
- buildIndices() : mixed
- Make sure indices are built for all NoSQL drivers in the given application.
- getDrivers() : array<string|int, mixed>
- Retrieve the list of active NoSQL drivers for an application.
Constants
HAS_INDICES
public
mixed
HAS_INDICES
= 1
NEEDS_INDICES
public
mixed
NEEDS_INDICES
= 2
Methods
buildIndices()
Make sure indices are built for all NoSQL drivers in the given application.
public
buildIndices([string $app = 'horde' ]) : mixed
Parameters
- $app : string = 'horde'
-
Application name.
getDrivers()
Retrieve the list of active NoSQL drivers for an application.
public
getDrivers([string $app = 'horde' ][, int $mask = 0 ]) : array<string|int, mixed>
Parameters
- $app : string = 'horde'
-
Application name.
- $mask : int = 0
-
Filter drivers by this mask.
Return values
array<string|int, mixed> —List of NoSQL drivers.