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

@ -1,9 +1,5 @@
<?php <?php
/**
* @file
*
*/
/** /**
* @file * @file
* Fedora Item * Fedora Item

20
api/fedora_utils.inc

@ -7,11 +7,17 @@
* Base utilities used by the Islandora fedora module. * Base utilities used by the Islandora fedora module.
*/ */
/*
* Functions that emulate php5.3 functionality for backwards compatiablity
*/
if (!function_exists('str_getcsv')) { 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) { function str_getcsv($input, $delimiter=',', $enclosure='"', $escape=NULL, $eol=NULL) {
$temp = fopen("php://memory", "rw"); $temp = fopen("php://memory", "rw");
fwrite($temp, $input); 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 * do curl
* @global type $user * @global type $user

Loading…
Cancel
Save