SilverStripe\CMS\Model\SiteTreeLinkTracking::trackLinksInField
Scrape the content of a field to detect anly links to local SiteTree pages or files
Signature
public function trackLinksInField(string
$fieldName,
[boolean&
$anyBroken = false] )
Parameters
$fieldName
— string- The name of the field on {@link @owner} to scrape
$anyBroken
— boolean
Returns
- array
- Array of page IDs found (associative array)