コード例 #1
0
 /**
  * Set up tool and settings specifications
  */
 public function __construct($pa_settings = null, $ps_mode = 'CLI')
 {
     $this->opa_available_settings = array('transcript_directory' => array('formatType' => FT_TEXT, 'displayType' => DT_FILE_BROWSER, 'width' => 100, 'height' => 1, 'takesLocale' => false, 'default' => '1', 'label' => _t('Transcript directory'), 'description' => _t('Directory containing transcripts to import.')), 'audio_directory' => array('formatType' => FT_TEXT, 'displayType' => DT_FILE_BROWSER, 'width' => 100, 'height' => 1, 'takesLocale' => false, 'default' => '1', 'label' => _t('Audio directory'), 'description' => _t('Directory containing digital audio to import.')));
     parent::__construct($pa_settings, $ps_mode, __CA_APP_DIR__ . '/plugins/pier21Tools/conf/pier21Tools.conf');
 }
コード例 #2
0
 /**
  * Set up tool and settings specifications
  */
 public function __construct($pa_settings = null, $ps_mode = 'CLI')
 {
     $this->opa_available_settings = array('import_directory' => array('formatType' => FT_TEXT, 'displayType' => DT_FILE_BROWSER, 'width' => 100, 'height' => 1, 'takesLocale' => false, 'default' => '', 'label' => _t('Import directory'), 'description' => _t('Directory containing SIPS to import.')), 'delete_after_import' => array('formatType' => FT_NUMBER, 'displayType' => DT_SELECT, 'width' => 40, 'height' => 1, 'takesLocale' => false, 'options' => array(_t('Yes') => 1, _t('No') => 0), 'default' => '0', 'label' => _t('Delete after import?'), 'description' => _t('Set to delete SIP after it is imported.')));
     parent::__construct($pa_settings, $ps_mode, __CA_APP_DIR__ . '/plugins/pbcTools/conf/pbcTools.conf');
 }