Browse Source

better documentation

pull/567/head
willtp87 10 years ago
parent
commit
578b3e64ef
  1. 6
      includes/mimetype.utils.inc

6
includes/mimetype.utils.inc

@ -60,15 +60,15 @@ function islandora_get_extensions_for_mimetype($mimetype) {
} }
/** /**
* Mimes accepted by a datastream. * Extensions for the mimes accepted by a datastream.
* *
* @param AbstractObject $object * @param AbstractObject $object
* Object to check for extensions. * Object to check for extensions.
* @param string $dsid * @param string $dsid
* Datastream ID to check for extensions. * Datastream ID to check for extensions.
* *
* @return array * @return string[]
* Mimes accepted by the datastream ID on the object. * Extensions for the mimes accepted by the datastream ID on the object.
*/ */
function islandora_get_extensions_for_datastream(AbstractObject $object, $dsid) { function islandora_get_extensions_for_datastream(AbstractObject $object, $dsid) {
module_load_include('inc', 'islandora', 'includes/utilities'); module_load_include('inc', 'islandora', 'includes/utilities');

Loading…
Cancel
Save