Class Socialveo\Core\library\ConfigManager

InheritanceSocialveo\Core\library\ConfigManager » Phalcon\Mvc\User\Component

Class ConfigManager

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getConfigs() Returns an array of configs, where keys are module names and "global" refers to default config Socialveo\Core\library\ConfigManager
remove() Deletes config data from config file Socialveo\Core\library\ConfigManager
write() Writes config array into file, based on configType Socialveo\Core\library\ConfigManager

Method Details

getConfigs() public static method (available since version 1.0)

Returns an array of configs, where keys are module names and "global" refers to default config

public static array getConfigs ( )
return array

$configs configuration

remove() public static method (available since version 1.0)

Deletes config data from config file

public static integer remove ( $configType, $configData )
$configType string

Module name

$configData array

Array of data to be written to file

return integer

$status

write() public static method (available since version 1.0)

Writes config array into file, based on configType

public static integer write ( $configType, $configData )
$configType string

Module name

$configData array

Array of data to be written to file

return integer

$status