|
|
|
@ -712,9 +712,8 @@ function islandora_viewers_form($variable_id = NULL, $mimetype = NULL, $model =
|
|
|
|
|
* given, than any viewer that supports either the give $mimetype or $model will |
|
|
|
|
* be listed. |
|
|
|
|
* |
|
|
|
|
* @param string $mimetype |
|
|
|
|
* Specify a mimetype to return only viewers that support this certain |
|
|
|
|
* mimetype. |
|
|
|
|
* @param array $mimetype |
|
|
|
|
* List of mimetypes that the view supports. |
|
|
|
|
* @param string $content_model |
|
|
|
|
* Specify a content model to return only viewers that support the content |
|
|
|
|
* model. |
|
|
|
@ -722,7 +721,7 @@ function islandora_viewers_form($variable_id = NULL, $mimetype = NULL, $model =
|
|
|
|
|
* @return array |
|
|
|
|
* Viewer definitions, or FALSE if none are found. |
|
|
|
|
*/ |
|
|
|
|
function islandora_get_viewers($mimetype = NULL, $content_model = NULL) { |
|
|
|
|
function islandora_get_viewers($mimetype = array(), $content_model = NULL) { |
|
|
|
|
$viewers = array(); |
|
|
|
|
$defined_viewers = module_invoke_all('islandora_viewer_info'); |
|
|
|
|
|
|
|
|
|