예제 #1
0
파일: Ini.php 프로젝트: rjsmelo/tiki
 /**
  * Process data from the parsed ini file.
  *
  * @param  array $data
  * @return array
  */
 protected function process(array $data)
 {
     $data = $this->preProcessSectionInheritance($data);
     $config = parent::process($data);
     $config = $this->posProcessSectionInheritance($config);
     if (!is_null($this->filterSection)) {
         if (array_key_exists($this->filterSection, $config)) {
             return $config[$this->filterSection];
         } else {
             return array();
         }
     }
     return $config;
 }