public function SiteAuditCheckAbstract::getScore in Site Audit 7
Same name and namespace in other branches
- 8.2 Check/Abstract.php \SiteAuditCheckAbstract::getScore()
Get a quantifiable number representing a check result; lazy initialization.
Return value
int Constants indicating pass, fail and so forth.
10 calls to SiteAuditCheckAbstract::getScore()
- SiteAuditCheckContentContentTypesUnused::getAction in Check/
Content/ ContentTypesUnused.php - Implements \SiteAudit\Check\Abstract\getAction().
- SiteAuditCheckContentDuplicateTitles::getAction in Check/
Content/ DuplicateTitles.php - Implements \SiteAudit\Check\Abstract\getAction().
- SiteAuditCheckContentFieldCount::getAction in Check/
Content/ FieldCount.php - Implements \SiteAudit\Check\Abstract\getAction().
- SiteAuditCheckContentFieldsUnused::getAction in Check/
Content/ FieldsUnused.php - Implements \SiteAudit\Check\Abstract\getAction().
- SiteAuditCheckContentVocabulariesUnused::getAction in Check/
Content/ VocabulariesUnused.php - Implements \SiteAudit\Check\Abstract\getAction().
File
- Check/
Abstract.php, line 245 - Contains \SiteAudit\Check\Abstract.
Class
- SiteAuditCheckAbstract
- Class SiteAuditCheckAbstract.
Code
public function getScore() {
if (!isset($this->score)) {
$this->score = $this
->calculateScore();
}
return $this->score;
}