Properties

$instance

$instance : 

Type

$errors

$errors : 

Type

$configs

$configs : 

Type

Methods

init()

init(string  $installPath = AJXP_INSTALL_PATH, string  $pluginDir = "plugins") 

Initialize singleton

Parameters

string $installPath
string $pluginDir

start()

start() : void

Start the singleton

startInst()

startInst() : void

Init CONF, AUTH drivers Init Repositories

getErrors()

getErrors() : array

Get errors generated by the boot sequence (init/start)

Returns

array

clearAllCaches()

clearAllCaches() 

backgroundActionsSupported()

backgroundActionsSupported() : boolean

Check the presence of mcrypt and option CMDLINE_ACTIVE

Returns

boolean

setTmpStorageImplementations()

setTmpStorageImplementations(  $confStorage,   $authStorage,   $cacheStorage) 

Parameters

$confStorage

AbstractConfDriver

$authStorage

AbstractAuthDriver

$cacheStorage

AbstractCacheDriver

getInfo()

getInfo() : string

Return info about auth plugins

Returns

string

invalidateLoadedRepositories()

invalidateLoadedRepositories() 

zipEnabled()

zipEnabled() : boolean

Check if the gzopen function exists

Returns

boolean

zipBrowsingEnabled()

zipBrowsingEnabled() : boolean

Check if users are allowed to browse ZIP content

Returns

boolean

zipCreationEnabled()

zipCreationEnabled() : boolean

Check if users are allowed to create ZIP archive

Returns

boolean

getConf()

getConf(string  $varName) : mixed

Get a config by its name

Parameters

string $varName

Returns

mixed

setConf()

setConf(string  $varName, mixed  $varValue) : void

Set a config by its name

Parameters

string $varName
mixed $varValue

getGlobalConf()

getGlobalConf(string  $varName, string  $coreType = "ajaxplorer") : mixed|null|string

Get config from the core.$coreType plugin without context

Parameters

string $varName
string $coreType

Returns

mixed|null|string

getContextConf()

getContextConf(\Pydio\Core\Model\ContextInterface  $ctx,   $varName, string  $coreType = "ajaxplorer") : mixed

Parameters

\Pydio\Core\Model\ContextInterface $ctx
$varName
string $coreType

Returns

mixed

__clone()

__clone() 

getConfInst()

getConfInst(  $varName) : mixed

See static method

Parameters

$varName

Returns

mixed

setConfInst()

setConfInst(  $varName,   $varValue) : void

See static method

Parameters

$varName
$varValue

initInst()

initInst() : void

Load the boostrap_* files and their configs

__construct()

__construct() 

ConfService constructor.