public function get_option($config = '') {
        if ($config === 'apikey') {
            return trim(get_config('youtube', 'apikey'));
        } else {
            $options['apikey'] = trim(get_config('youtube', 'apikey'));
        }
        return parent::get_option($config);
    }
public function get_option($config = '') {
        if ($config === 'apikey') {
            return trim(get_config('youtube', 'apikey'));
        } else {
            $options['apikey'] = trim(get_config('youtube', 'apikey'));
        }
        return parent::get_option($config);
    }
public function get_option ( $ config = '' ) { if ( $ config === 'apikey' ) { return trim ( get_config ( 'youtube' , 'apikey' ) ) ; } else { $ options [ 'apikey' ] = trim ( get_config ( 'youtube' , 'apikey' ) ) ; } return parent :: get_option ( $ config ) ; }
Get apikey from config table.

@param string $config
@return mixed
Get apikey from config table .