FileAttachmentField::getFileClass
Gets the classname for the file, e.g. from the declared file relation on the record.
If given a filename, look at the extension and upgrade it to an Image if necessary.
Signature
public function getFileClass([string
$filename = NULL] )
Parameters
$filename
— string
Returns
- string