Set URL segments by template
Usage
$self = $sitemap->setUrlSegmentsByTemplate($template, array $urlSegments);
Arguments
Name | Type(s) | Description |
---|---|---|
template | int, string, Template | Template object or name |
urlSegments | array | Example: [ 'foo', 'bar', 'baz' ] |
Return value
self
$sitemap methods and properties
API reference based on ProcessWire core version 3.0.236