MarkupQA class

Located in file /wire/core/MarkupQA.php

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the MarkupQA class also inherits all the methods and properties of: Wire.

Show class?             Show args?        

Common

NameReturnSummary 
MarkupQA::checkImgTags(string $value)
(nothing)Quality assurance for <img> tags 
MarkupQA::debug()
boolGet or set debug status 
MarkupQA::error(string $text)
$thisRecord error message to image-errors log 
MarkupQA::findLinks()
PageArray array intFind pages linking to another 
MarkupQA::ignorePaths()
arrayGet or set paths to ignore for link abstraction 
MarkupQA::setField(Field $field)
(nothing)Set the current Field 
MarkupQA::setPage(Page $page)
(nothing)Set the current Page 
MarkupQA::sleepLinks(string $value)
(nothing)Sleep href attributes, adding a data-pwid attribute to <a> tags that resolve to a Page 
MarkupQA::sleepUrls($value)
(nothing)Sleep URLs in href or src attributes for storage 
MarkupQA::verbose()
boolGet or set verbose state 
MarkupQA::wakeupLinks($value)
arrayWakeup href attributes, using the data-pwid attribute to update the href attribute as necessary 
MarkupQA::wakeupUrls($value)
(nothing)Wakeup URLs in href or src attributes for presentation 

Additional methods and properties

In addition to the methods and properties above, MarkupQA also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.248

Latest news

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer