mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +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
|
* Return an array of Images in a particular category
|
||||||
* @param string $cat : category name. use + to include _common eg. 'news+'
|
* @param string $cat : category name. use + to include _common eg. 'news+'
|
||||||
|
Reference in New Issue
Block a user