Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
Namespaces | Classes | Functions | Variables
antivirus_clamav

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 = 2022041200
 
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 = 2022041900
 

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