Tripal Plant PopGen Submit
|
Go to the source code of this file.
Functions | |
tpps_accession_coordinates () | |
tpps_get_coordinates ($row, array &$options) | |
Defines Ajax callback for plant accession coordinates.
Definition in file accession_coordinates.inc.
tpps_accession_coordinates | ( | ) |
Returns an array of standardized coordinates based on a file id number.
Definition at line 11 of file accession_coordinates.inc.
tpps_get_coordinates | ( | $row, | |
array & | $options | ||
) |
This function processes a single row of a plant accession file.
This function populates the coords attribute of the options array with the standardized coordinates of each plant in the file. This function is meant to be used with tpps_file_iterator().
mixed | $row | The item yielded by the TPPS file generator. |
array | $options | Additional options set when calling tpps_file_iterator(). |
Definition at line 45 of file accession_coordinates.inc.