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 | |||
11 | private static $table_name = 'Signify_Document'; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
12 | |||
13 | private static $db = [ |
||
0 ignored issues
–
show
|
|||
14 | 'URI' => 'Varchar(255)', |
||
15 | ]; |
||
16 | |||
17 | private static $has_one = [ |
||
0 ignored issues
–
show
|
|||
18 | 'SiteTree' => SiteTree::class, |
||
19 | ]; |
||
20 | |||
21 | private static $belongs_many_many = [ |
||
0 ignored issues
–
show
|
|||
22 | 'CSPViolations' => CSPViolation::class, |
||
23 | ]; |
||
24 | } |
||
25 |