| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class BrokenExternalPageTrack extends DataObject |
||
| 15 | { |
||
| 16 | private static $table_name = 'BrokenExternalPageTrack'; |
||
|
|
|||
| 17 | |||
| 18 | private static $db = array( |
||
| 19 | 'Processed' => 'Boolean' |
||
| 20 | ); |
||
| 21 | |||
| 22 | private static $has_one = array( |
||
| 23 | 'Page' => SiteTree::class, |
||
| 24 | 'Status' => BrokenExternalPageTrackStatus::class |
||
| 25 | ); |
||
| 26 | |||
| 27 | private static $has_many = array( |
||
| 28 | 'BrokenLinks' => BrokenExternalLink::class |
||
| 29 | ); |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return SiteTree |
||
| 33 | */ |
||
| 34 | public function Page() |
||
| 40 |