/**
  *
  * @param array $options
  * @return string
  */
 function add_evidence_pages($options, $batch_id)
 {
     $this->transaction = new RP_Transaction($this->credentials, false);
     $sources = RP_Dao_Factory::get_rp_source_dao($this->credentials->prefix)->get_source_no_page($batch_id);
     foreach ($sources as $src) {
         $content = sprintf("[rootsEvidencePage sourceId='%s' batchId='%s'/]", $src['id'], $batch_id);
         $page_id = RP_Persona_Helper::create_evidence_page($src['title'], $content, $options);
         RP_Dao_Factory::get_rp_source_dao($this->credentials->prefix)->update_page($src['id'], $batch_id, $page_id);
         set_time_limit(60);
     }
     $this->transaction->commit();
     return count($sources) . ' ' . sprintf(__('source page(s) added for batchId %s', 'rootspersona'), $batch_id) . '.<br/>';
 }