Base class for checks.
More...
|
string | $component = 'core' |
| $component - The component / plugin this task belongs to.
|
|
◆ get_action_link()
core\check\check::get_action_link |
( |
| ) |
|
A link to a place to action this.
- Return values
-
Reimplemented in auth_none\check\noauth, core\check\access\defaultuserrole, core\check\access\frontpagerole, core\check\access\guestrole, core\check\access\riskadmin, core\check\access\riskbackup, core\check\access\riskxss, core\check\environment\antivirus, core\check\environment\environment, core\check\environment\publicpaths, core\check\environment\upgradecheck, core\check\http\cookiesecure, core\check\performance\backups, core\check\performance\cachejs, core\check\performance\dbschema, core\check\performance\debugging, core\check\performance\designermode, core\check\performance\stats, core\check\security\crawlers, core\check\security\emailchangeconfirmation, core\check\security\embed, core\check\security\openprofiles, core\check\security\passwordpolicy, core\check\security\webcron, tool_task\check\cronrunning, tool_task\check\longrunningtasks, and tool_task\check\maxfaildelay.
◆ get_component()
core\check\check::get_component |
( |
| ) |
|
Get the frankenstyle component name.
- Return values
-
◆ get_id()
core\check\check::get_id |
( |
| ) |
|
Get the check's id.
This defaults to the base name of the class which is ok in the most cases but if you have a check which can have multiple instances then you should override this to be unique.
- Return values
-
string | must be unique within a component |
◆ get_name()
core\check\check::get_name |
( |
| ) |
|
Get the short check name.
- Return values
-
Reimplemented in core\check\access\defaultuserrole, core\check\access\frontpagerole, core\check\access\guestrole, core\check\access\riskadmin, core\check\access\riskbackup, core\check\access\riskxss, core\check\environment\antivirus, core\check\environment\configrw, core\check\environment\displayerrors, core\check\environment\environment, core\check\environment\preventexecpath, core\check\environment\publicpaths, core\check\environment\unsecuredataroot, core\check\environment\upgradecheck, core\check\http\cookiesecure, core\check\performance\backups, core\check\performance\cachejs, core\check\performance\dbschema, core\check\performance\debugging, core\check\performance\designermode, core\check\performance\stats, core\check\security\crawlers, core\check\security\emailchangeconfirmation, core\check\security\embed, core\check\security\openprofiles, core\check\security\passwordpolicy, and core\check\security\webcron.
◆ get_ref()
core\check\check::get_ref |
( |
| ) |
|
Get the check reference.
- Return values
-
string | must be globally unique |
◆ get_result()
core\check\check::get_result |
( |
| ) |
|
|
abstract |
Return the result.
- Return values
-
Reimplemented in auth_none\check\noauth, core\check\access\defaultuserrole, core\check\access\frontpagerole, core\check\access\guestrole, core\check\access\riskadmin, core\check\access\riskbackup, core\check\access\riskxss, core\check\environment\antivirus, core\check\environment\configrw, core\check\environment\displayerrors, core\check\environment\environment, core\check\environment\preventexecpath, core\check\environment\publicpaths, core\check\environment\unsecuredataroot, core\check\environment\upgradecheck, core\check\http\cookiesecure, core\check\performance\backups, core\check\performance\cachejs, core\check\performance\dbschema, core\check\performance\debugging, core\check\performance\designermode, core\check\performance\stats, core\check\security\crawlers, core\check\security\emailchangeconfirmation, core\check\security\embed, core\check\security\openprofiles, core\check\security\passwordpolicy, core\check\security\webcron, tool_task\check\adhocqueue, tool_task\check\cronrunning, tool_task\check\longrunningtasks, and tool_task\check\maxfaildelay.
◆ set_component()
core\check\check::set_component |
( |
string | $component | ) |
|
Get the frankenstyle component name.
- Parameters
-
◆ $component
string core\check\check::$component = 'core' |
|
protected |
$component - The component / plugin this task belongs to.
This is autopopulated by the check manager.
The documentation for this class was generated from the following file: