PHP Class Horde_Core_Bundle, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Jan Schneider ([email protected])
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_cli Horde_Core_Cli
$_config Horde_Config
$_pearconf string Path to the PEAR configuration file.

Public Methods

Method Description
__construct ( Horde_Core_Cli $cli, $pearconf = null ) Constructor.
configAuth ( ) Asks for the administrator settings and creates the authentication configuration.
configDb ( ) Asks for the database settings and creates the SQL configuration.
init ( ) Creates and loads a basic conf.php configuration file.
migrateDb ( ) Creates or updates the database tables.
writeAllConfigs ( ) Creates default configuration files for all installed applications.
writeConfig ( Horde_Variables $vars ) Writes the current configuration to the conf.php file.

Protected Methods

Method Description
_configAuth ( Horde_Variables $vars ) Asks for the administrator settings.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Core_Cli $cli, $pearconf = null )
$cli Horde_Core_Cli

_configAuth() abstract protected method

Asks for the administrator settings.
abstract protected _configAuth ( Horde_Variables $vars )
$vars Horde_Variables

configAuth() public method

Asks for the administrator settings and creates the authentication configuration.
public configAuth ( )

configDb() public method

Asks for the database settings and creates the SQL configuration.
public configDb ( )

init() public method

Creates and loads a basic conf.php configuration file.
public init ( )

migrateDb() public method

Creates or updates the database tables.
public migrateDb ( )

writeAllConfigs() public method

Creates default configuration files for all installed applications.
public writeAllConfigs ( )

writeConfig() public method

Writes the current configuration to the conf.php file.
public writeConfig ( Horde_Variables $vars )
$vars Horde_Variables

Property Details

$_cli protected_oe property

protected Horde_Core_Cli $_cli
return Horde_Core_Cli

$_config protected_oe property

protected Horde_Config $_config
return Horde_Config

$_pearconf protected_oe property

Path to the PEAR configuration file.
protected string $_pearconf
return string