class SiteAuditReportBestPractices in Site Audit 7
Same name and namespace in other branches
- 8.2 Report/BestPractices.php \SiteAuditReportBestPractices
Class SiteAuditReportBestPractices.
Hierarchy
- class \SiteAuditReportAbstract- class \SiteAuditReportBestPractices
 
Expanded class hierarchy of SiteAuditReportBestPractices
File
- Report/BestPractices.php, line 10 
- Contains \SiteAudit\Report\BestPractices.
View source
class SiteAuditReportBestPractices extends SiteAuditReportAbstract {
  /**
   * Implements \SiteAudit\Report\Abstract\getLabel().
   */
  public function getLabel() {
    return dt('Best practices');
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| SiteAuditReportAbstract:: | protected | property | Individual check objects. | |
| SiteAuditReportAbstract:: | protected | property | Flag to indicate whether any of the checks are a complete FAIL. | |
| SiteAuditReportAbstract:: | protected | property | Percentage pass. | |
| SiteAuditReportAbstract:: | protected | property | Container that's passed between each SiteAuditCheckAbstract. | |
| SiteAuditReportAbstract:: | protected | property | Maximum score. | |
| SiteAuditReportAbstract:: | protected | property | Total score. | |
| SiteAuditReportAbstract:: | public | function | Get the names of all the checks within the report. | |
| SiteAuditReportAbstract:: | public | function | Get the calculated percentage. | |
| SiteAuditReportAbstract:: | public | function | Get the CSS class associated with a percentage. | |
| SiteAuditReportAbstract:: | protected | function | Get the complete name of the report. | |
| SiteAuditReportAbstract:: | public | function | Render the report; respects drush options. | |
| SiteAuditReportAbstract:: | public | function | Render response using Drush. | |
| SiteAuditReportAbstract:: | public | function | Render response as HTML; does not include head, body, etc. | |
| SiteAuditReportAbstract:: | public | function | Render response using JSON. | |
| SiteAuditReportAbstract:: | public | function | Constructor; loads and executes checks based on the name of this report. | 1 | 
| SiteAuditReportBestPractices:: | public | function | Implements \SiteAudit\Report\Abstract\getLabel(). Overrides SiteAuditReportAbstract:: | 
