PHP Class Horde_Config_Form, horde

Copyright 2002-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: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Form
ファイルを表示 Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_fillvars boolean Whether to fill $this->_vars with values from the existing configuration.
$_vars Horde_Variables Contains the Horde_Variables object of this form.
$_xmlConfig Horde_Config Contains the Horde_Config object that this form represents.

Public Methods

Method Description
__construct ( &$vars, string $app, boolean $fillvars = false ) Constructor.

Protected Methods

Method Description
_buildVariables ( array $config, string $prefix = '' ) Builds the form based on the specified level of the configuration tree.

Method Details

__construct() public method

Constructor.
public __construct ( &$vars, string $app, boolean $fillvars = false )
$app string The name of the application that this configuration form is for.
$fillvars boolean Whether to fill the $vars object with values from the existing configuration.

_buildVariables() protected method

Builds the form based on the specified level of the configuration tree.
protected _buildVariables ( array $config, string $prefix = '' )
$config array The portion of the configuration tree for that the form fields should be created.
$prefix string A string representing the current position inside the configuration tree.

Property Details

$_fillvars protected_oe property

Whether to fill $this->_vars with values from the existing configuration.
protected bool $_fillvars
return boolean

$_vars protected_oe property

Contains the Horde_Variables object of this form.
protected Horde_Variables $_vars
return Horde_Variables

$_xmlConfig protected_oe property

Contains the Horde_Config object that this form represents.
protected Horde_Config $_xmlConfig
return Horde_Config