Revision bf910101
Added by Andreas Kohlbecker over 16 years ago
modules/cdm_dataportal/cdm/cdm_api.php | ||
---|---|---|
29 | 29 |
* The XML is turned into a object wich is retuned. Incase of an error a |
30 | 30 |
* approriate watchdog message is generated and the function returns false. |
31 | 31 |
* |
32 |
* |
|
32 |
* //TODO are we going to support JSON services ?
|
|
33 | 33 |
* |
34 | 34 |
* @param String $url the relative url of the web service call. |
35 | 35 |
* Relative means relative to the web service base url which is stored in cdm_webservice_url |
... | ... | |
51 | 51 |
* |
52 | 52 |
* |
53 | 53 |
* @param unknown_type $uuid |
54 |
* @return false if the cdm store contains no matching instance. An associative array with the following key-value pairs: |
|
54 |
* @return false if the cdm store contains no matching instance. |
|
55 |
* An associative array with the following key-value pairs: |
|
55 | 56 |
* - 'cdmName': name of the cdm class as returned by Class.getName(), e.g. eu.etaxonomy.cdm.model.taxon.Taxon |
56 | 57 |
* - 'cdmSimpleName': simple name of the cdm class as returned by Class.getSimpleName(), e.g. Taxon |
57 | 58 |
* - 'dtoName': name of the DTO class as returned by Class.getName(), e.g. eu.etaxonomy.cdm.dto.TaxonTO |
... | ... | |
67 | 68 |
* @param String $uuid |
68 | 69 |
* @return a NameTO instance or false |
69 | 70 |
*/ |
70 |
function cdm_ws_get_nameTO($uuid){
|
|
71 |
function cdm_ws_get_name($uuid){ |
|
71 | 72 |
return cdm_ws_load("name/?uuid=$uuid"); |
72 | 73 |
} |
73 | 74 |
|
... | ... | |
77 | 78 |
* @param unknown_type $page |
78 | 79 |
* @param unknown_type $hide_unaccepted |
79 | 80 |
*/ |
80 |
function cdm_ws_nameTO_list($page = 1, $hide_unaccepted){
|
|
81 |
function cdm_ws_name_list($page = 1, $hide_unaccepted){ |
|
81 | 82 |
|
82 | 83 |
} |
Also available in: Unified diff