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:
@@ -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+'
|
||||
|
Reference in New Issue
Block a user