\Horde_Core_Bundle

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.

Summary

Methods
Properties
Constants
__construct()
init()
configDb()
migrateDb()
configAuth()
writeConfig()
writeAllConfigs()
No public properties found
No constants found
_configAuth()
$_cli
$_config
$_pearconf
N/A
No private methods found
No private properties found
N/A

Properties

$_pearconf

$_pearconf : string

Path to the PEAR configuration file.

Type

string

Methods

__construct()

__construct(\Horde_Core_Cli  $cli,   $pearconf = null) 

Constructor.

Parameters

\Horde_Core_Cli $cli
$pearconf

init()

init() 

Creates and loads a basic conf.php configuration file.

configDb()

configDb() 

Asks for the database settings and creates the SQL configuration.

migrateDb()

migrateDb() 

Creates or updates the database tables.

Throws

\Horde_Db_Exception

configAuth()

configAuth() 

Asks for the administrator settings and creates the authentication configuration.

writeConfig()

writeConfig(\Horde_Variables  $vars) 

Writes the current configuration to the conf.php file.

Parameters

\Horde_Variables $vars

Throws

\Horde_Exception

writeAllConfigs()

writeAllConfigs() 

Creates default configuration files for all installed applications.

Throws

\Horde_Exception

_configAuth()

_configAuth(\Horde_Variables  $vars) 

Asks for the administrator settings.

Parameters

\Horde_Variables $vars