\DevOwl\RealCookieBanner\scannerAutomaticScanStarter

Automatically start the scan process when the user has first interaction with the plugin.

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
probablyAddClientJob()
addJobToQueue()
getStatus()
instance()
No public properties found
OPTION_NAME
REAL_QUEUE_TYPE
STATUS_PENDING
STATUS_INITIALIZED
STATUS_STARTED
No protected methods found
No protected properties found
N/A
__construct()
No private properties found
N/A

Constants

OPTION_NAME

OPTION_NAME =RCB_OPT_PREFIX . '-automatic-scan-starter'

REAL_QUEUE_TYPE

REAL_QUEUE_TYPE ='rcb-automatic-scan-starter'

STATUS_PENDING

STATUS_PENDING ='pending'

STATUS_INITIALIZED

STATUS_INITIALIZED ='initialized'

STATUS_STARTED

STATUS_STARTED ='started'

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

probablyAddClientJob()

probablyAddClientJob()

Check if the job to start the scanner can be added.

addJobToQueue()

addJobToQueue()

Add the job to start the scanner to the `real-queue`.

getStatus()

getStatus(): string

Get the status of the automatic scan process.

Returns

string

instance()

instance()

New instance.

__construct()

__construct()

C'tor.