Browse Source

added more documentation

pull/23/head
Ben Woodhead 13 years ago
parent
commit
84361d7284
  1. 4
      api/fedora_item.inc
  2. 20
      api/fedora_utils.inc

4
api/fedora_item.inc

@ -2,10 +2,6 @@
/**
* @file
*
*/
/**
* @file
* Fedora Item
*/
define('RELS_EXT_URI', 'info:fedora/fedora-system:def/relations-external#');

20
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

Loading…
Cancel
Save