Browse Source

Merge pull request #567 from willtp87/7.x.add_datastream_fix

better documentation
pull/569/head
Adam 10 years ago
parent
commit
6de00bd9ab
  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