public function setOptions(array $aOptions, $sKeys = '')
    {
        // Find the config array in the input data
        $aKeys = explode('.', (string)$sKeys);
        foreach ($aKeys as $sKey)
        {
            if(($sKey))
            {
                if(!array_key_exists($sKey, $aOptions) || !is_array($aOptions[$sKey]))
                {
                    return;
                }
                $aOptions = $aOptions[$sKey];
            }
        }
        $this->_setOptions($aOptions);
    }
public function setOptions(array $aOptions, $sKeys = '')
    {
        // Find the config array in the input data
        $aKeys = explode('.', (string)$sKeys);
        foreach ($aKeys as $sKey)
        {
            if(($sKey))
            {
                if(!array_key_exists($sKey, $aOptions) || !is_array($aOptions[$sKey]))
                {
                    return;
                }
                $aOptions = $aOptions[$sKey];
            }
        }
        $this->_setOptions($aOptions);
    }
public function setOptions ( array $ aOptions , $ sKeys = '' ) { // Find the config array in the input data $ aKeys = explode ( '.' , ( string ) $ sKeys ) ; foreach ( $ aKeys as $ sKey ) { if ( ( $ sKey ) ) { if ( ! array_key_exists ( $ sKey , $ aOptions ) || ! is_array ( $ aOptions [ $ sKey ] ) ) { return ; } $ aOptions = $ aOptions [ $ sKey ] ; } } $ this -> _setOptions ( $ aOptions ) ; }
Set the values of an array of config options

@param array             $aOptions           The options array
@param string            $sKeys              The keys of the options in the array

@return void
Set the values of an array of config options