Horde_Core_Bundle
in package
AbstractYes
Base class for the Horde bundle API.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Properties
- $_cli : Horde_Core_Cli
- $_config : Horde_Config
- $_pearconf : string
- Path to the PEAR configuration file.
Methods
- __construct() : mixed
- Constructor.
- configAuth() : mixed
- Asks for the administrator settings and creates the authentication configuration.
- configDb() : mixed
- Asks for the database settings and creates the SQL configuration.
- init() : mixed
- Creates and loads a basic conf.php configuration file.
- migrateDb() : mixed
- Creates or updates the database tables.
- writeAllConfigs() : mixed
- Creates default configuration files for all installed applications.
- writeConfig() : mixed
- Writes the current configuration to the conf.php file.
- _configAuth() : mixed
- Asks for the administrator settings.
Properties
$_cli
protected
Horde_Core_Cli
$_cli
$_config
protected
Horde_Config
$_config
$_pearconf
Path to the PEAR configuration file.
protected
string
$_pearconf
Methods
__construct()
Constructor.
public
__construct(Horde_Core_Cli $cli[, mixed $pearconf = null ]) : mixed
Parameters
- $cli : Horde_Core_Cli
- $pearconf : mixed = null
configAuth()
Asks for the administrator settings and creates the authentication configuration.
public
configAuth() : mixed
configDb()
Asks for the database settings and creates the SQL configuration.
public
configDb() : mixed
init()
Creates and loads a basic conf.php configuration file.
public
init() : mixed
migrateDb()
Creates or updates the database tables.
public
migrateDb() : mixed
Tags
writeAllConfigs()
Creates default configuration files for all installed applications.
public
writeAllConfigs() : mixed
Tags
writeConfig()
Writes the current configuration to the conf.php file.
public
writeConfig(Horde_Variables $vars) : mixed
Parameters
- $vars : Horde_Variables
Tags
_configAuth()
Asks for the administrator settings.
protected
abstract _configAuth(Horde_Variables $vars) : mixed
Parameters
- $vars : Horde_Variables