Class MOXMAN
Inheritance | MOXMAN |
---|
MoxieManager factory instance.
Public Methods
Method | Description | Defined By |
---|---|---|
dispose() | Disposes the file systems. This might flush resources used by the file systems. | MOXMAN |
getAuthManager() | Returns the auth manager instance. | MOXMAN |
getConfig() | Returns the global config instance. | MOXMAN |
getFile() | Returns a file for the specified path. | MOXMAN |
getFileSystemManager() | Returns the file system manager instance. | MOXMAN |
getGlobalStorage() | Returns a storage instance for the global scope. Global data is shared between all users. | MOXMAN |
getGroupStorage() | Returns a storage instance for the group scope. Items stored in this instance will only be available for the specific group and if the user has access to that group. | MOXMAN |
getLogger() | Returns the logger instance. | MOXMAN |
getPdo() | Returns an instance of the PDO wrapper class. | MOXMAN |
getPluginManager() | Returns plugin manager instance. | MOXMAN |
getStorageManager() | Returns the storage manager instance. | MOXMAN |
getUser() | Returns the current user instance. | MOXMAN |
getUserStorage() | Returns a storage instance for the user scope. Items stored in this instance will only be available for the specific user. | MOXMAN |
Method Details
Disposes the file systems. This might flush resources used by the file systems.
public static void dispose ( ) |
Returns the auth manager instance.
public static MOXMAN_Auth_AuthManager getAuthManager ( ) | ||
return | MOXMAN_Auth_AuthManager | Authentication manager instance. |
---|
Returns the global config instance.
public static MOXMAN_Util_Config getConfig ( ) | ||
return | MOXMAN_Util_Config | Global config instance. |
---|
Returns a file for the specified path.
public static MOXMAN_Vfs_IFile getFile ( $path, $childPath = "" ) | ||
$path | string | Path to file to retrive. |
$childPath | string | Optional child path to combine with path. |
return | MOXMAN_Vfs_IFile | File instance for the specified path. |
---|
Returns the file system manager instance.
public static MOXMAN_Vfs_FileSystemManager getFileSystemManager ( ) | ||
return | MOXMAN_Vfs_FileSystemManager | File system manager instance. |
---|
Returns a storage instance for the global scope. Global data is shared between all users.
public static MOXMAN_Storage_IStorage getGlobalStorage ( ) | ||
return | MOXMAN_Storage_IStorage | Storage instance for global data. |
---|
Returns a storage instance for the group scope. Items stored in this instance will only be available for the specific group and if the user has access to that group.
public static MOXMAN_Storage_IStorage getGroupStorage ( $name ) | ||
$name | string | Name of the group to get the storage for. |
return | MOXMAN_Storage_IStorage | Storage instance for global data. |
---|
Returns the logger instance.
public static MOXMAN_Util_Logger getLogger ( ) | ||
return | MOXMAN_Util_Logger | Logger instance. |
---|
Returns an instance of the PDO wrapper class.
public static MOXMAN_Util_Pdo getPdo ( ) | ||
return | MOXMAN_Util_Pdo | PDO wrapper instance. |
---|
Returns plugin manager instance.
public static MOXMAN_PluginManager getPluginManager ( ) | ||
return | MOXMAN_PluginManager | Plugin manager instance. |
---|
Returns the storage manager instance.
public static MOXMAN_Storage_StorageManager getStorageManager ( ) | ||
return | MOXMAN_Storage_StorageManager | Storage manager instance. |
---|
Returns the current user instance.
public static MOXMAN_Auth_User getUser ( ) | ||
return | MOXMAN_Auth_User | Current user instance. |
---|
Returns a storage instance for the user scope. Items stored in this instance will only be available for the specific user.
public static MOXMAN_Storage_IStorage getUserStorage ( ) | ||
return | MOXMAN_Storage_IStorage | Storage instance for global data. |
---|