SilverStripe\SelectUpload\SelectUploadField::folderPathFromID
Get path of a folder relative to /assets/ by id.
This will be a format appropriate for setting setFolderName to
Signature
protected function folderPathFromID(int
$folderIDÂ )
Parameters
$folderID
— int
Returns
- string|bool
- Relative path to the assets directory, or false if not found