Dependencies
extends Horde_Injector
in package
Table of Contents
- $hordeBootstrapped : mixed
- __construct() : mixed
- bootstrapHorde() : mixed
- Perform bootstrap of the horde base app
- findHordePath() : mixed
- Return the path to horde
- getApplicationResources() : object
- Return the application resource provider
- getRegistryApplications() : array<string|int, string>
- Return a list of applications from the Horde Registry
- globalizeApp() : mixed
- Push/initialize all globals which may be used by application code
- globalizeHordeConfig() : Dependencies
- Expose Horde Config in global namespace
- setupCommonDependencies() : mixed
- Setup some dependencies which are too simple/common for a full factory
- unglobalizeHordeConfig() : Dependencies
- Hide Horde Config from global namespace
Properties
$hordeBootstrapped
protected
mixed
$hordeBootstrapped
= false
Methods
__construct()
public
__construct(mixed $scope) : mixed
Parameters
- $scope : mixed
Return values
mixed —bootstrapHorde()
Perform bootstrap of the horde base app
public
bootstrapHorde() : mixed
TODO: Handle cases of incomplete config
Return values
mixed —findHordePath()
Return the path to horde
public
findHordePath() : mixed
Return values
mixed —getApplicationResources()
Return the application resource provider
public
getApplicationResources(string $app) : object
Parameters
- $app : string
Return values
object —getRegistryApplications()
Return a list of applications from the Horde Registry
public
getRegistryApplications() : array<string|int, string>
If we have not connected to a working registry, the list will be empty
Return values
array<string|int, string> —globalizeApp()
Push/initialize all globals which may be used by application code
public
globalizeApp() : mixed
Use this in import/app or query/app contexts
Return values
mixed —globalizeHordeConfig()
Expose Horde Config in global namespace
public
globalizeHordeConfig() : Dependencies
Return values
Dependencies —setupCommonDependencies()
Setup some dependencies which are too simple/common for a full factory
public
setupCommonDependencies() : mixed
Return values
mixed —unglobalizeHordeConfig()
Hide Horde Config from global namespace
public
unglobalizeHordeConfig() : Dependencies
Most likely this will not cover all edge cases