Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Files | Namespaces | Classes | Functions | Variables
antivirus_clamav

Files

file  adminlib.php
 ClamAV antivirus adminlib.
 
file  provider.php
 Privacy Subsystem implementation for antivirus_clamav.
 
file  scanner.php
 ClamAV antivirus integration.
 
file  settings.php
 ClamAV admin settings.
 
file  upgrade.php
 ClamAV antivirus plugin upgrade script.
 
file  version.php
 ClamAV antivirus version file.
 

Namespaces

 antivirus_clamav
  
 
 antivirus_clamav\privacy
  
 

Classes

class  antivirus_clamav\privacy\provider
 Privacy Subsystem for antivirus_clamav implementing null_provider. More...
 
class  antivirus_clamav\scanner
 Class implementing ClamAV antivirus. More...
 
class  antivirus_clamav_pathtounixsocket_setting
 Admin setting for unix socket path, adds verification. More...
 
class  antivirus_clamav_runningmethod_setting
 Admin setting for running, adds verification. More...
 

Functions

 xmldb_antivirus_clamav_upgrade ($oldversion)
 Run all ClamAV plugin upgrade steps between the current DB version and the current version on disk. More...
 

Variables

const antivirus_clamav::ANTIVIRUS_CLAMAV_SOCKET_CHUNKSIZE 1024
 Default socket data stream chunk size.
 
const antivirus_clamav::ANTIVIRUS_CLAMAV_SOCKET_TIMEOUT 10
 Default socket timeout.
 
$plugin component = 'antivirus_clamav'
 
$plugin requires = 2019111200
 
$plugin version = 2019111800
 

Detailed Description

Function Documentation

◆ xmldb_antivirus_clamav_upgrade()

xmldb_antivirus_clamav_upgrade (   $oldversion)

Run all ClamAV plugin upgrade steps between the current DB version and the current version on disk.

Parameters
int$oldversionThe old version of atto in the DB.
Return values
bool