diff --git a/e107_handlers/media_class.php b/e107_handlers/media_class.php index 033371815..c9ce8ad8b 100644 --- a/e107_handlers/media_class.php +++ b/e107_handlers/media_class.php @@ -405,6 +405,14 @@ class e_media } + public function getFiles($from=0, $amount = null, $search = null) + { + return $this->getImages('_common_file', $from, $amount, $search); + } + + + + /** * Return an array of Images in a particular category * @param string $cat : category name. use + to include _common eg. 'news+'