protected function TripalImporter::setTotalItems

3.x TripalImporter.inc protected TripalImporter::setTotalItems($total_items)

Sets the total number if items to be processed.

This should typically be called near the beginning of the loading process to indicate the number of items that must be processed.

Parameters

$total_items: The total number of items to process.

6 calls to TripalImporter::setTotalItems()
FASTAImporter::loadFasta in tripal_chado/includes/TripalImporter/FASTAImporter.inc
Load a fasta file.
GFF3Importer::loadGFF3 in tripal_chado/includes/TripalImporter/GFF3Importer.inc
Actually load a GFF3 file. This is the function called by tripal jobs
OBOImporter::loadTypeDefs in tripal_chado/includes/TripalImporter/OBOImporter.inc
OBO files are divided into a typedefs terms section and vocabulary terms section. This function loads the typedef terms from the OBO.
OBOImporter::parse in tripal_chado/includes/TripalImporter/OBOImporter.inc
Parse the OBO file and populate the templ loading table
OBOImporter::processTerms in tripal_chado/includes/TripalImporter/OBOImporter.inc
OBO files are divided into a typedefs section and a terms section.

... See full list

File

tripal/includes/TripalImporter.inc, line 575

Class

TripalImporter

Code

protected function setTotalItems($total_items) {
  $this->total_items = $total_items;
}