protected function setConfig($cfg) {
		if (isset($cfg['die_for_errors'])) {
			$this->cfg['die_for_errors'] = !!$cfg['die_for_errors'];
		}
		if (isset($cfg['ignore_filter_decoding_errors'])) {
			$this->cfg['ignore_filter_decoding_errors'] = !!$cfg['ignore_filter_decoding_errors'];
		}
		if (isset($cfg['ignore_missing_filter_decoders'])) {
			$this->cfg['ignore_missing_filter_decoders'] = !!$cfg['ignore_missing_filter_decoders'];
		}
	}
protected function setConfig($cfg) {
		if (isset($cfg['die_for_errors'])) {
			$this->cfg['die_for_errors'] = !!$cfg['die_for_errors'];
		}
		if (isset($cfg['ignore_filter_decoding_errors'])) {
			$this->cfg['ignore_filter_decoding_errors'] = !!$cfg['ignore_filter_decoding_errors'];
		}
		if (isset($cfg['ignore_missing_filter_decoders'])) {
			$this->cfg['ignore_missing_filter_decoders'] = !!$cfg['ignore_missing_filter_decoders'];
		}
	}
protected function setConfig ( $ cfg ) { if ( isset ( $ cfg [ 'die_for_errors' ] ) ) { $ this -> cfg [ 'die_for_errors' ] = ! ! $ cfg [ 'die_for_errors' ] ; } if ( isset ( $ cfg [ 'ignore_filter_decoding_errors' ] ) ) { $ this -> cfg [ 'ignore_filter_decoding_errors' ] = ! ! $ cfg [ 'ignore_filter_decoding_errors' ] ; } if ( isset ( $ cfg [ 'ignore_missing_filter_decoders' ] ) ) { $ this -> cfg [ 'ignore_missing_filter_decoders' ] = ! ! $ cfg [ 'ignore_missing_filter_decoders' ] ; } }
Set the configuration parameters.
@param $cfg (array) Array of configuration parameters:
'die_for_errors' : if true termitate the program execution in case of error, otherwise thows an exception;
'ignore_filter_decoding_errors' : if true ignore filter decoding errors;
'ignore_missing_filter_decoders' : if true ignore missing filter decoding errors.
@public
Set the configuration parameters .