From 9a52580ed95e7fca637eb216ead988535f00a949 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Mon, 7 May 2012 14:19:55 -0300 Subject: [PATCH] Comment refinement. --- api/fedora_item.inc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/api/fedora_item.inc b/api/fedora_item.inc index 1b9f9798..bc378471 100644 --- a/api/fedora_item.inc +++ b/api/fedora_item.inc @@ -230,6 +230,8 @@ class Fedora_Item { * The predicate namespace. * @param boolean $literal_value * Whether or not the object should be added as a URI (FALSE) or a literal (TRUE). + * @return ??? + * Value returned from SOAP call for modify_datastream. */ function add_relationship($relationship, $object, $namespaceURI = RELS_EXT_URI, $literal_value = FALSE) { //dd($this, 'The Fedora_Item'); @@ -847,11 +849,10 @@ RDF; /** * Get Next PID in Namespace - * @param type $pid_namespace - * @return type + * @param $pid_namespace string + * @return string */ static function get_next_PID_in_namespace($pid_namespace = '') { - if (empty($pid_namespace)) { // Just get the first one in the config settings. $allowed_namespaces = explode(" ", variable_get('fedora_pids_allowed', 'default: demo: changeme: islandora: ilives: islandora-book: books: newspapers: ')); @@ -925,11 +926,11 @@ RDF; /** * Modify Object - * @param type $label - * @param type $state - * @param type $ownerId - * @param type $logMessage - * @param type $quiet + * @param $label string + * @param $state string + * @param $ownerId string + * @param $logMessage string + * @param $quiet boolean * @return type */ function modify_object($label = '', $state = NULL, $ownerId = NULL, $logMessage = 'Modified by Islandora API', $quiet=TRUE) {