Revision 0c5a23b6
Added by Andreas Kohlbecker over 7 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1494 | 1494 |
* |
1495 | 1495 |
* @return string |
1496 | 1496 |
*/ |
1497 |
function cdm_dataportal_taxon_page_view($uuid, $chapter = 'all', $synonym_uuid = NULL) {
|
|
1497 |
function cdm_dataportal_taxon_page_view($uuid, $chapter = 'all') { |
|
1498 | 1498 |
|
1499 | 1499 |
cdm_check_valid_taxon_page($chapter); |
1500 | 1500 |
cdm_dd("START OF TAXON PAGE [" . $chapter . "] " . $uuid . ' for ' . $_GET['q']); |
... | ... | |
1510 | 1510 |
|
1511 | 1511 |
// Display the page for the taxon defined by $uuid. |
1512 | 1512 |
// set_last_taxon_page_tab(arg(3)); |
1513 |
$taxonpage = cdm_dataportal_taxon_view($uuid, $chapter, $synonym_uuid);
|
|
1513 |
$taxonpage = cdm_dataportal_taxon_view($uuid, $chapter); |
|
1514 | 1514 |
if (!empty($taxonpage)) { |
1515 | 1515 |
cdm_dd("END OF TAXON PAGE [" . $chapter . "] " . $uuid); |
1516 | 1516 |
return cdm_node_show(NODETYPE_TAXON, $uuid, $taxonpage->title, $taxonpage->content); |
... | ... | |
1533 | 1533 |
* Name of the part to display, valid values are: |
1534 | 1534 |
* 'description', 'images', 'synonymy', 'all'. |
1535 | 1535 |
* |
1536 |
* @return taxonpage object with the following fields:
|
|
1536 |
* @return object with the following fields: |
|
1537 | 1537 |
* - title : the title of the page |
1538 | 1538 |
* - content: the content of the page |
1539 | 1539 |
* |
Also available in: Unified diff
removing obsolte method argument