Symbiote\SteamedClams\Extension\ClamAVExtension
Class Symbiote\SteamedClams\ClamAVExtension
Synopsis
class ClamAVExtension
extends DataExtension
{
- // members
- private static array $has_many = ;
- protected ClamAVScan $_cache_scanForVirus = 0;
- // methods
- public null validate()
- public ClamAVScan scanForVirus()
- public boolean isVirusScannable()
- public String getFullPath()
- public void onAfterDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Tasks
Line | Task |
---|---|
83 | (Jake): Allow for custom deny rules with virus scan and TEST. |
Members
Methods
public
- getFullPath() — Returns an absolute filesystem path to the file.
- isVirusScannable() — Whether the file can be scanned or not.
- onAfterDelete()
- scanForVirus() — Returns an unsaved `ClamAVScan` record with information regarding the virus scan
- validate() — This is called within `File::write()` but before `File::onBeforeWrite()`.