Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

namespace  antivirus_clamav
  
 
namespace  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...
 
class  antivirus_clamav_socket_setting
 Abstract socket checking class. More...
 
class  antivirus_clamav_tcpsockethost_setting
 Admin setting for Internet domain socket host, 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

 $plugin = 2020060900
 
const antivirus_clamav::ANTIVIRUS_CLAMAV_SOCKET_CHUNKSIZE 33554432
 Default socket data stream chunk size (32Mb: 32 * 1024 * 1024)
 
const antivirus_clamav::ANTIVIRUS_CLAMAV_SOCKET_TIMEOUT 10
 Default socket timeout.
 
$plugin component = 'antivirus_clamav'
 
$plugin version = 2020061500
 

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