Revision 8a1b451e
Added by Andreas Kohlbecker over 5 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1553 | 1553 |
* - title : the title of the page |
1554 | 1554 |
* - content: the content of the page |
1555 | 1555 |
* |
1556 |
* @throws Exception |
|
1557 |
* |
|
1556 | 1558 |
*/ |
1557 | 1559 |
function cdm_dataportal_taxon_view($uuid, $chapter = 'all') { |
1558 | 1560 |
// Taxon object. |
1559 | 1561 |
$taxon = cdm_ws_get(CDM_WS_PORTAL_TAXON, $uuid); |
1560 | 1562 |
if (empty($taxon)) { |
1561 | 1563 |
drupal_set_title(t('Taxon does not exist'), PASS_THROUGH); |
1562 |
return FALSE;
|
|
1564 |
return null;
|
|
1563 | 1565 |
} |
1564 | 1566 |
$taxonpage = new stdClass(); |
1565 | 1567 |
|
Also available in: Unified diff
php doc