Tripal
Functions
tripal_stock.DEPRECATED.inc File Reference

Functions

 tripal_stock_get_stock_by_nid ($nid)
 
 tripal_stock_get_stock_by_stock_id ($stock_id)
 
 tripal_stock_get_all_stocks ()
 
 tripal_stock_get_stocks ($values)
 
 tripal_stock_get_stocks_by_stockprop ($stockprop_values, $stock_values)
 
 tripal_stock_get_stock_by_name_identifier ($name, $organism_id)
 

Detailed Description

Wrapper functions to provide backwards compatibility for the tripal stock api

Function Documentation

◆ tripal_stock_get_all_stocks()

tripal_stock_get_all_stocks ( )
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_multiple_stocks().
See also
tripal_get_multiple_stocks().

◆ tripal_stock_get_stock_by_name_identifier()

tripal_stock_get_stock_by_name_identifier (   $name,
  $organism_id 
)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_stock().

Return all stocks with a given name identifier which might match stock.name, stock.uniquename, dbxref.accession, stockprop.value where stockprop.type='synonym'

Parameters
$nameThe name identfier to be used
$organism_idThe stock.organism_id of the stock to be selected
Returns
An array of stock node objects
See also
tripal_get_stock().

◆ tripal_stock_get_stock_by_nid()

tripal_stock_get_stock_by_nid (   $nid)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_stock().
See also
tripal_get_stock().

◆ tripal_stock_get_stock_by_stock_id()

tripal_stock_get_stock_by_stock_id (   $stock_id)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_stock().
See also
tripal_get_stock().

◆ tripal_stock_get_stocks()

tripal_stock_get_stocks (   $values)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_multiple_stocks().
See also
tripal_get_multiple_stocks().

◆ tripal_stock_get_stocks_by_stockprop()

tripal_stock_get_stocks_by_stockprop (   $stockprop_values,
  $stock_values 
)
Deprecated:
Restructured API to make naming more readable and consistent. Function was deprecated in Tripal 2.0 and will be removed 2 releases from now. This function has been replaced by tripal_get_stock().
See also
tripal_get_stock().