WireMarkupFileRegions::apply()

Apply file regions in given HTML document and regions markup

Usage

// basic usage
$int = $wireMarkupFileRegions->apply(string $htmlDocument, string $htmlRegions);

// usage with all arguments
$int = $wireMarkupFileRegions->apply(string $htmlDocument, string $htmlRegions, array $options = []);

Arguments

NameType(s)Description
$htmlDocumentstring
$htmlRegionsstring
$options (optional)array

Return value

int

Number of file regions


WireMarkupFileRegions methods and properties

API reference based on ProcessWire core version 3.0.253