From 84361d72845b1c7a49db038a47b2ca5ffae9eaf6 Mon Sep 17 00:00:00 2001 From: Ben Woodhead Date: Tue, 13 Sep 2011 15:25:32 -0300 Subject: [PATCH] added more documentation --- api/fedora_item.inc | 4 ---- api/fedora_utils.inc | 20 +++++++++----------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/api/fedora_item.inc b/api/fedora_item.inc index 07fa7ec2..06f65698 100644 --- a/api/fedora_item.inc +++ b/api/fedora_item.inc @@ -2,10 +2,6 @@ /** * @file - * - */ -/** - * @file * Fedora Item */ define('RELS_EXT_URI', 'info:fedora/fedora-system:def/relations-external#'); diff --git a/api/fedora_utils.inc b/api/fedora_utils.inc index 1991e84c..0bbd110f 100644 --- a/api/fedora_utils.inc +++ b/api/fedora_utils.inc @@ -7,11 +7,17 @@ * Base utilities used by the Islandora fedora module. */ -/* - * Functions that emulate php5.3 functionality for backwards compatiablity - */ if (!function_exists('str_getcsv')) { + /** + * Functions that emulate php5.3 functionality for backwards compatiablity + * @param type $input + * @param type $delimiter + * @param type $enclosure + * @param type $escape + * @param type $eol + * @return type + */ function str_getcsv($input, $delimiter=',', $enclosure='"', $escape=NULL, $eol=NULL) { $temp = fopen("php://memory", "rw"); fwrite($temp, $input); @@ -23,14 +29,6 @@ if (!function_exists('str_getcsv')) { } -/* - * Functions that emulate php5.3 functionality for backwards compatiablity - */ - -/* - * Static functions used by the Fedora PHP API. - */ - /** * do curl * @global type $user