\JHelperMedia
Media helper class
Synopsis
class JHelperMedia
{
- // methods
- public boolean isImage()
- public static string getTypeIcon()
- public boolean canUpload()
- public static array imageResize()
- public array countFiles()
Methods
public
- canUpload() — Checks if the file can be uploaded
- countFiles() — Counts the files and directories in a directory that are not php or html files.
- getTypeIcon() — Gets the file extension for purposed of using an icon
- imageResize() — Calculate the size of a resized image
- isImage() — Checks if the file is an image