public function set_option($options = array()) {
        if (!empty($options['apikey'])) {
            set_config('apikey', trim($options['apikey']), 'youtube');
        }
        unset($options['apikey']);
        return parent::set_option($options);
    }
public function set_option($options = array()) {
        if (!empty($options['apikey'])) {
            set_config('apikey', trim($options['apikey']), 'youtube');
        }
        unset($options['apikey']);
        return parent::set_option($options);
    }
public function set_option ( $ options = array ( ) ) { if ( ! empty ( $ options [ 'apikey' ] ) ) { set_config ( 'apikey' , trim ( $ options [ 'apikey' ] ) , 'youtube' ) ; } unset ( $ options [ 'apikey' ] ) ; return parent :: set_option ( $ options ) ; }
Save apikey in config table.
@param array $options
@return boolean
Save apikey in config table .