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
| Name | Type(s) | Description |
|---|---|---|
$htmlDocument | string | |
$htmlRegions | string | |
$options (optional) | array |
Return value
intNumber of file regions
WireMarkupFileRegions methods and properties
API reference based on ProcessWire core version 3.0.253