You are here

class SiteAuditReportStatus in Site Audit 7

Same name and namespace in other branches
  1. 8.2 Report/Status.php \SiteAuditReportStatus

Class SiteAuditReportStatus.

Hierarchy

Expanded class hierarchy of SiteAuditReportStatus

File

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

View source
class SiteAuditReportStatus extends SiteAuditReportAbstract {

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

}

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
SiteAuditReportStatus::getLabel public function Implements \SiteAudit\Report\Abstract\getLabel(). Overrides SiteAuditReportAbstract::getLabel