You are here

class SiteAuditReportSecurity in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Report/Security.php \SiteAuditReportSecurity

Class SiteAuditReportSecurity.

Hierarchy

Expanded class hierarchy of SiteAuditReportSecurity

File

Report/Security.php, line 10
Contains \SiteAudit\Report\Security.

View source
class SiteAuditReportSecurity extends SiteAuditReportAbstract {

  /**
   * Implements \SiteAudit\Report\Abstract\getLabel().
   */
  public function getLabel() {
    return dt('Security');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
SiteAuditReportAbstract::$checks protected property Individual check objects.
SiteAuditReportAbstract::$hasFail protected property Flag to indicate whether any of the checks are a complete FAIL.
SiteAuditReportAbstract::$percent protected property Percentage pass.
SiteAuditReportAbstract::$registry protected property Container that's passed between each SiteAuditCheckAbstract.
SiteAuditReportAbstract::$scoreMax protected property Maximum score.
SiteAuditReportAbstract::$scoreTotal protected property Total score.
SiteAuditReportAbstract::getCheckNames public function Get the names of all the checks within the report.
SiteAuditReportAbstract::getPercent public function Get the calculated percentage.
SiteAuditReportAbstract::getPercentCssClass public function Get the CSS class associated with a percentage.
SiteAuditReportAbstract::getReportName protected function Get the complete name of the report.
SiteAuditReportAbstract::render public function Render the report; respects drush options.
SiteAuditReportAbstract::toDrush public function Render response using Drush.
SiteAuditReportAbstract::toHtml public function Render response as HTML; does not include head, body, etc.
SiteAuditReportAbstract::toJson public function Render response using JSON.
SiteAuditReportAbstract::__construct public function Constructor; loads and executes checks based on the name of this report. 1
SiteAuditReportSecurity::getLabel public function Implements \SiteAudit\Report\Abstract\getLabel(). Overrides SiteAuditReportAbstract::getLabel