Tripal
Public Member Functions | List of all members
Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter Class Reference
Inheritance diagram for Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter:
Collaboration graph
[legend]

Public Member Functions

 form ($form, &$form_state)
 
 formValidate ($form, &$form_state)
 
 run ()
 
 postRun ()
 
 formSubmit ($form, &$form_state)
 
- Public Member Functions inherited from Drupal\tripal_chado\TripalImporter\ChadoImporterBase
 __construct (array $configuration, $plugin_id, $plugin_definition, ChadoConnection $connection)
 
 getChadoConnection ()
 
 addAnalysis ($form, &$form_state)
 
- Public Member Functions inherited from Drupal\tripal\TripalImporter\TripalImporterBase
 __construct (array $configuration, $plugin_id, $plugin_definition)
 
 describeUploadFileFormat ()
 
 setJob ($job)
 
 createImportJob ($run_args, $file_details=[])
 
 load ($import_id)
 
 submitJob ()
 
 prepareFiles ()
 
 cleanFile ()
 
 getArguments ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Drupal\tripal_chado\TripalImporter\ChadoImporterBase
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
- Protected Member Functions inherited from Drupal\tripal\TripalImporter\TripalImporterBase
 setTotalItems ($total_items)
 
 addItemsHandled ($num_handled)
 
 setItemsHandled ($total_handled)
 
 setInterval ($interval)
 
- Protected Attributes inherited from Drupal\tripal_chado\TripalImporter\ChadoImporterBase
 $chado_schema_main
 
 $messenger = NULL
 
 $connection
 
- Protected Attributes inherited from Drupal\tripal\TripalImporter\TripalImporterBase
 $job
 
 $logger
 
 $arguments
 
 $import_id
 
 $is_prepared
 
 $messenger = NULL
 
 $reported
 
 $plugin_id
 
 $plugin_definition
 

Detailed Description

Taxonomy Importer implementation of the TripalImporterBase.

@TripalImporter( id = "chado_newick_tree_loader", label = @Translation("Newick Tree Loader"), description = @Translation("Import Newick Tree into Chado"), file_types = {"tree","txt","newick"}, upload_description = @Translation("Please provide the Newick formatted tree file (one tree per file only)."), upload_title = @Translation("Newick Tree File"), use_analysis = True, require_analysis = True, button_text = @Translation("Import Newick Tree file"), file_upload = True, file_remote = False, file_required = False, )

Member Function Documentation

◆ form()

Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::form (   $form,
$form_state 
)
See also
TripalImporter::form()

Reimplemented from Drupal\tripal_chado\TripalImporter\ChadoImporterBase.

◆ formSubmit()

Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::formSubmit (   $form,
$form_state 
)

{Handles submission of the form elements.The form elements provided in the implementation of the form() function can be used for special submit if needed.

Parameters
array$formThe form array definition.
\Drupal\Core\Form\FormStateInterface$form_stateThe form state object.
}

Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.

◆ formValidate()

Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::formValidate (   $form,
$form_state 
)
See also
TripalImporter::formValidate()

Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.

◆ postRun()

Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::postRun ( )

◆ run()

Drupal\tripal_chado\Plugin\TripalImporter\NewickImporter::run ( )
See also
TripalImporter::run()

Implements Drupal\tripal\TripalImporter\Interfaces\TripalImporterInterface.


The documentation for this class was generated from the following file: