1 | <?php |
||
2 | |||
3 | namespace Signify\Models; |
||
4 | |||
5 | use SilverStripe\ORM\DataObject; |
||
6 | use SilverStripe\CMS\Model\SiteTree; |
||
7 | |||
8 | class CSPDocument extends DataObject |
||
9 | { |
||
10 | private static $table_name = 'Signify_Document'; |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
11 | |||
12 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
13 | 'URI' => 'Varchar(255)', |
||
14 | ]; |
||
15 | |||
16 | private static $has_one = [ |
||
0 ignored issues
–
show
|
|||
17 | 'SiteTree' => SiteTree::class, |
||
18 | ]; |
||
19 | |||
20 | private static $belongs_many_many = [ |
||
0 ignored issues
–
show
|
|||
21 | 'CSPViolations' => CSPViolation::class, |
||
22 | ]; |
||
23 | } |
||
24 |