public function read(Enlight_Config
$config) { $name =
$this->_namePrefix .
$config->
getName() .
$this->_nameSuffix;
$data =
[];
$extends =
$config->
getExtends();
$currentSection =
$config->
getSection();
while ($currentSection !== null
) { $data +=
$this->
readSection($name,
$currentSection);
$currentSection =
isset($extends[$currentSection]) ?
$extends[$currentSection] : null;
} $config->
setData($data);
return $this;
} /**
* Saves the data changes in the data store.
*
* @param string[]|null $fields
* @param bool|null $update If false, existing rows are not updated
* @param bool $force If true, existing dirty columns are updated
* @param bool $allowReset If true, updating existing columns with existing value will reset dirty flag
*
* @return Enlight_Config_Adapter_DbTable
*/