icsearch/dbsf.install File Reference

Go to the source code of this file.

Functions

 dbsf_install ()
 dbsf_uninstall ()
 dbsf_schema ()
 dbsf_add_software_option ($name, $dbxref_id, $cvterm_id, $description=NULL)
 dbsf_add_software_blast ()


Detailed Description

Install the dbsf module

Requires the tabs and icbasic modules.

See also:
icbasic.module Developed by Alexie Papanicolaou and Ritika Chauhan. University of Exeter. Licensed under GPLv3
TODO: List of things to do/consider

Definition in file dbsf.install.


Function Documentation

dbsf_add_software_blast (  ) 

Helper function to add BLAST software

Use it as a template for adding plugins

Definition at line 219 of file dbsf.install.

References dbsf_add_software_option(), icbasic_get_add_cv_withnames(), icbasic_get_add_dbxref_withnames(), icbasic_populate_cvterms(), and icbasic_populate_prop().

Referenced by dbsf_install().

Here is the call graph for this function:

dbsf_add_software_option ( name,
dbxref_id,
cvterm_id,
description = NULL 
)

Save a software option.

Parameters:
$name Name of option to add
$dbxref_id ID of dbxref to link with dbxref
$cvterm_id ID of cvterm to use as type id
$description Optionally add a description.
Returns:
Returns FALSE on failure or TRUE on success.

Definition at line 193 of file dbsf.install.

Referenced by dbsf_add_software_blast(), and dbsf_add_software_ssaha2().

dbsf_install (  ) 

Custom implementation of the hook_install ().

Uses db_query to change type to boolean (unsupported in Drupal 6) Adds some CVs Looks for include files to include plugins.

Definition at line 28 of file dbsf.install.

References dbsf_add_software_blast(), dbsf_add_software_ssaha2(), and icbasic_add_cv().

Here is the call graph for this function:

dbsf_schema (  ) 

Implementation of hook_schema().

See also:
icbasic.install
Includes new tables for linking resource and role and for software

Definition at line 100 of file dbsf.install.

dbsf_uninstall (  ) 

Implementation of hook_uninstall().

Definition at line 88 of file dbsf.install.


Generated on Mon Jan 4 00:11:27 2010 for DrupalBioinformaticServerFramework by  doxygen 1.5.5