function tripal_chado_publish_records

3.x tripal_chado.DEPRECATED.api.inc tripal_chado_publish_records($values, $job_id = null)

Publishes content in Chado as a new TripalEntity entity.

Parameters

$values: A key/value associative array that supports the following keys:

  • bundle_name: The name of the the TripalBundle (e.g. bio_data-12345).

$job_id: (Optional) The numeric job ID as provided by the Tripal jobs system. There is no need to specify this argument if this function is being called outside of the jobs systems.

Return value

boolean TRUE if all of the records of the given bundle type were published, and FALSE if a failure occured.

File

tripal_chado/api/tripal_chado.DEPRECATED.api.inc, line 35
These api functions are deprecated, if your site is currently using them please update your code with the newer tripal_chado functions.

Code

function tripal_chado_publish_records($values, $job_id = null) {
  chado_publish_records($values, $job_id = null);
}