You are here

class SiteAuditReportFrontEnd in Site Audit 8.2

Same name and namespace in other branches
  1. 7 Report/FrontEnd.php \SiteAuditReportFrontEnd

Class SiteAuditReportFrontEnd.

Hierarchy

Expanded class hierarchy of SiteAuditReportFrontEnd

File

Report/FrontEnd.php, line 10
Contains \SiteAudit\Report\Insights.

View source
class SiteAuditReportFrontEnd extends SiteAuditReportAbstract {

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

}

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