|
|
@ -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'); |
|
|
|