BrokenLinks() * @method SiteTree Page() * @method BrokenExternalPageTrackStatus Status() */ class BrokenExternalPageTrack extends DataObject { private static $table_name = 'BrokenExternalPageTrack'; private static $db = array( 'Processed' => 'Boolean' ); private static $has_one = array( 'Page' => SiteTree::class, 'Status' => BrokenExternalPageTrackStatus::class ); private static $has_many = array( 'BrokenLinks' => BrokenExternalLink::class ); /** * @return SiteTree */ public function Page() { return Versioned::get_by_stage(SiteTree::class, 'Stage') ->byID($this->PageID); } }