class TripalGFF3Downloader

Hierarchy

Expanded class hierarchy of TripalGFF3Downloader

File

tripal/includes/TripalFieldDownloaders/TripalGFF3Downloader.inc, line 3

View source
class TripalGFF3Downloader extends TripalFieldDownloader {
  /**
   * Sets the label shown to the user describing this formatter.
   */
  static public $label = 'GFF3';

  /**
   * Indicates the default extension for the outputfile.
   */
  static public $default_extension = 'gff3';

  /**
   * @see TripalFieldDownloader::format()
   */
  protected function formatEntity($entity) {

  }

  /**
   * @see TripalFieldDownloader::getHeader()
   */
  protected function getHeader() {

  }
}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
TripalFieldDownloader::$collection protected property The data collection assigned to this downloader.
TripalFieldDownloader::$collection_bundles protected property An array of collection_bundle records for the content types that belong to this data collection.
TripalFieldDownloader::$collection_id protected property The collection ID
TripalFieldDownloader::$fh protected property The file handle for an opeend file using during writing.
TripalFieldDownloader::$fields protected property A list of field and instance items, indexed first by site_id with 'local' being the key for local fields and the numeric site_id for remote fields. The second-levle key is the bundle_name and the the field_id. Below the field_id are the…
TripalFieldDownloader::$fields2terms protected property An array that associates a field ID with a term.
TripalFieldDownloader::$full_label static public property A more verbose label that better describes the formatter.
TripalFieldDownloader::$outfile protected property The output file URI.
TripalFieldDownloader::$printable_fields protected property An array of printable fields. Because fields can come from multiple bundles and those bundles can be from multiple sites, it is possible that 1) two bundles use the same field and we want to conslidate to a single printable field; and 2) that a…
TripalFieldDownloader::$remote_entity protected property The remote site json data returned for the entity
TripalFieldDownloader::delete public function Removes the downloadable file.
TripalFieldDownloader::download public function Setups a download stream for the file.
TripalFieldDownloader::getURL public function Retrieves the URL for the downloadable file.
TripalFieldDownloader::isFieldSupported public function Inidcates if a given field is supported by this Downloader class.
TripalFieldDownloader::setFields protected function Sets the fields array
TripalFieldDownloader::setFields2Terms protected function Sets the fields2term array.
TripalFieldDownloader::setLocalFields private function A helper function for the setFields() function.
TripalFieldDownloader::setPrintableFields protected function Conslidates all the fields into a single list of accession numbers.
TripalFieldDownloader::setRemoteFields private function A helper function for the setFields() function.
TripalFieldDownloader::write public function Creates the downloadable file.
TripalFieldDownloader::writeDone public function Closes the output file once writing of all entities is completed.
TripalFieldDownloader::writeEntity public function Write a single entity to the file.
TripalFieldDownloader::writeInit public function
TripalFieldDownloader::__construct public function Constructs a new instance of the TripalFieldDownloader class.
TripalGFF3Downloader::$default_extension static public property Indicates the default extension for the outputfile. Overrides TripalFieldDownloader::$default_extension
TripalGFF3Downloader::$label static public property Sets the label shown to the user describing this formatter. Overrides TripalFieldDownloader::$label
TripalGFF3Downloader::formatEntity protected function Overrides TripalFieldDownloader::formatEntity
TripalGFF3Downloader::getHeader protected function Overrides TripalFieldDownloader::getHeader