StaticSiteContentExtractor::extractField
Extract content for a single css selector
Signature
public function extractField(string
$cssSelector,
[string
$attribute = NULL,
[boolean
$outerHTML = false]] )
Parameters
$cssSelector
— string- The selector for which to extract content.
$attribute
— string- If set, the value will be from this HTML attribute
$outerHTML
— boolean
Returns
- string
- The content for that selector