StaticSiteContentExtractor::extractMapAndSelectors
Extract content for map of field => css-selector pairs
Signature
public function extractMapAndSelectors(array
$selectorMap,
StaticSiteContentItem
$item )
Parameters
$selectorMap
— array- A map of field name => css-selector
$item
— object- The item to extract
Returns
- array
- Map of field name=>array('selector' => selector, 'content' => field content)