Core/Config/Config.php
public function load($refresh = false)
    {
        $results = $this->repository->read();

        /* @var $config \Core\Config\ConfigObject */
        foreach ($results as $config) {
            $storage = $this->createStorage($config->getStorage());
            $storage->set($config->getId(), $config->getValue());
        }
    }
public function load($refresh = false)
    {
        $results = $this->repository->read();

        /* @var $config \Core\Config\ConfigObject */
        foreach ($results as $config) {
            $storage = $this->createStorage($config->getStorage());
            $storage->set($config->getId(), $config->getValue());
        }
    }
public function load ( $ refresh = false ) { $ results = $ this -> repository -> read ( ) ; /* @var $config \Core\Config\ConfigObject */ foreach ( $ results as $ config ) { $ storage = $ this -> createStorage ( $ config -> getStorage ( ) ) ; $ storage -> set ( $ config -> getId ( ) , $ config -> getValue ( ) ) ; } }
Loads config from database

@param boolean $refresh
Optional flag to force a refresh load of the config that updates the cached config too

@return void
Loads config from database