PHP Class GcConfig\Form\Config

Inheritance: extends Gc\Form\AbstractForm
显示文件 Open project: gotcms/gotcms Class Usage Examples

Public Methods

Method Description
init ( ) : void Initialize form
initGeneral ( ) : Config Initialize General sub form
initServer ( array $config ) : Config Initialize Server sub form
initSystem ( ) : Config Initialize System sub form
setValues ( array $data ) : void Set config values from database result

Method Details

init() public method

Initialize form
public init ( ) : void
return void

initGeneral() public method

Initialize General sub form
public initGeneral ( ) : Config
return Config

initServer() public method

Initialize Server sub form
public initServer ( array $config ) : Config
$config array Configuration
return Config

initSystem() public method

Initialize System sub form
public initSystem ( ) : Config
return Config

setValues() public method

Set config values from database result
public setValues ( array $data ) : void
$data array The data as array will by passed into form field
return void