Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
n/a
0 / 0
n/a
0 / 0
CRAP
0.00% covered (danger)
0.00%
0 / 29
1<?php
2
3return [
4    'api' => false,
5    'id' => "0",
6    'text' => 'Nouveau site',
7    'config' => [
8        'domain' => [
9            'id' => null,
10            'text' => null
11        ],
12        'url' => '',
13        'urlHash' => null,
14        'date' => [
15            'start' => null,
16            'end' => null
17        ],
18        'state' => [
19            'value' => 1,
20            'text' => 'undeployed'
21        ],
22        'redirection' => [
23            'badDate' => NULL,
24            'noRoutes' => NULL,
25            'alreadyOptin' => NULL,
26        ],
27        'sponsorsList' => [],
28        'sponsorsToDisplay' => 0,
29    ],
30    'template' => [
31        'name' => 1,
32        'siteType' => "0",
33        'images' => [
34            'list' => [],
35            'affectation' => [
36                [
37                    "key" => "background",
38                    "text" => "Background",
39                    "value" => null
40                ],
41                [
42                    "key" => "banner",
43                    "text" => "Banner",
44                    "value" => null
45                ]
46            ],
47        ],
48        'css' => [
49            'file' => NULL,
50            'content' => '',
51        ],
52        'js' => [
53            'file' => NULL,
54            'content' => '',
55        ],
56        'thema' => [
57            [
58                "key" => "main",
59                "text" => "Main",
60                "value" => "#4089ff"
61            ],
62            [
63                "key" => "secondary",
64                "text" => "Secondary",
65                "value" => "#FF0000"
66            ],
67            [
68                "key" => "tertiary",
69                "text" => "Background",
70                "value" => "#ffffff"
71            ],
72            [
73                "key" => "fourth",
74                "text" => "Form",
75                "value" => "#ffffff"
76            ]
77        ],
78        'textContent' => [],
79        'breadcrumbs' => false,
80        'regulationFile' => false,
81        'termsFile' => false,
82        'footer' => true,
83        'activeExternalLinks' => false,
84        'externalLinks' => [],
85    ],
86    'routes' => [
87        [
88            'id' => uniqid(),
89            'active' => true,
90            'text' => "Desktop",
91            'conditions' => [
92                'type' => "AND",
93                'rows' => []
94            ],
95            'pages' => [
96                [
97                    'id' => uniqid(),
98                    'type' => 1,
99                    'name' => "page 1 Desktop",
100                    'editMode' => false,
101                    'inRoute' => true,
102                    'sponsors' => false,
103                    'sponsorsToDisplay' => 0,
104                    'blocks' => [
105                        [
106                            'value' => 4,
107                            'text' => "Validation",
108                            'block' => [
109                                'textOptin' => "Suivant",
110                                'textNoOptin' => "",
111                                'text' => "Validation",
112                                'validOnFormItem' => false,
113                                'itemNav' => (object) [],
114                            ],
115                            'id' => uniqid()
116                        ],
117                    ]
118                ]
119            ]
120        ],
121        [
122            'id' => uniqid(),
123            'active' => true,
124            'text' => "Mobile",
125            'conditions' => [
126                'type' => "AND",
127                'rows' => []
128            ],
129            'pages' => [
130                [
131                    'id' => uniqid(),
132                    'type' => 1,
133                    'name' => "page 1 Mobile",
134                    'editMode' => false,
135                    'sponsors' => false,
136                    'inRoute' => true,
137                    'sponsorsToDisplay' => 0,
138                    'blocks' => [
139                        [
140                            'value' => 4,
141                            'text' => "Validation",
142                            'block' => [
143                                'textOptin' => "Suivant",
144                                'textNoOptin' => "",
145                                'text' => "Validation",
146                                'validOnFormItem' => false,
147                                'itemNav' => (object) [],
148                            ],
149                            'id' => uniqid()
150                        ],
151                    ]
152                ]
153            ]
154        ],
155    ],
156    'welcomeMails' => [
157        'active' => false,
158        'welcomeMail' => NULL,
159        'object' => NULL,
160        'aliasSender' => NULL,
161        'title' => NULL,
162        'content' => NULL,
163        'image' => NULL,
164    ],
165];