Esempio n. 1
0
 /**
  * In addition to the default options available for 
  * Omeka_File_Ingest_AbstractIngest, this understands the following options:
  * - 'ignoreNoFile' => boolean False by default.  Whether or not to ignore 
  * - validation errors that occur when an uploaded file is missing.  This 
  * - may occur when a file input is left empty on a form.  
  * 
  * This option can be overridden by the 'ignore_invalid_files' option.  For 
  * instance, if 'ignoreNoFile' is set to false but 'ignore_invalid_files' is
  * set to true, any exceptions due to missing uploads will be suppressed and
  * ignored.
  * 
  * @param array $options
  * @return void
  */
 public function setOptions($options)
 {
     parent::setOptions($options);
     if (array_key_exists('ignoreNoFile', $options)) {
         $this->_adapterOptions['ignoreNoFile'] = $options['ignoreNoFile'];
     }
 }