1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Added getFiles() method to retrieve all files in the media-manager. (_common_file)

This commit is contained in:
Cameron
2014-07-05 20:27:37 -07:00
parent 5d46ffe410
commit 660b65af0b

View File

@@ -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+'