public function mergeClassOptions($aOptions)
    {
        // The new options overwrite those already saved, and the merge
        // shall be done at option level, and not at class level.
        foreach($aOptions as $class => $aClassOption)
        {
            if(!array_key_exists($class, $this->aClassOptions))
            {
                $this->aClassOptions[$class] = $aClassOption;
            }
            else
            {
                foreach($aClassOption as $key => $aOption)
                {
                    // Merge the options
                    $this->aClassOptions[$class][$key] = array_key_exists($key, $this->aClassOptions[$class]) ?
                        array_merge($this->aClassOptions[$class][$key], $aOption) : $aOption;
                }
            }
        }
    }
public function mergeClassOptions($aOptions)
    {
        // The new options overwrite those already saved, and the merge
        // shall be done at option level, and not at class level.
        foreach($aOptions as $class => $aClassOption)
        {
            if(!array_key_exists($class, $this->aClassOptions))
            {
                $this->aClassOptions[$class] = $aClassOption;
            }
            else
            {
                foreach($aClassOption as $key => $aOption)
                {
                    // Merge the options
                    $this->aClassOptions[$class][$key] = array_key_exists($key, $this->aClassOptions[$class]) ?
                        array_merge($this->aClassOptions[$class][$key], $aOption) : $aOption;
                }
            }
        }
    }
public function mergeClassOptions ( $ aOptions ) { // The new options overwrite those already saved, and the merge // shall be done at option level, and not at class level. foreach ( $ aOptions as $ class => $ aClassOption ) { if ( ! array_key_exists ( $ class , $ this -> aClassOptions ) ) { $ this -> aClassOptions [ $ class ] = $ aClassOption ; } else { foreach ( $ aClassOption as $ key => $ aOption ) { // Merge the options $ this -> aClassOptions [ $ class ] [ $ key ] = array_key_exists ( $ key , $ this -> aClassOptions [ $ class ] ) ? array_merge ( $ this -> aClassOptions [ $ class ] [ $ key ] , $ aOption ) : $ aOption ; } } } }
Read class options from config values.

@param array             $aOptions               The application config options

@return void
Read class options from config values .