-
Notifications
You must be signed in to change notification settings - Fork 2
/
acts.inc.php
334 lines (296 loc) · 14.7 KB
/
acts.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<?php
function get_legislation() {
// $act = 'deathpenalty';
// $versions = array(
// '1989-11-28' => 'http://legislation.govt.nz/act/public/1989/0119/latest/096be8ed8009cc7e.pdf',
// );
// foreach($versions as $date=>$url) {
// $legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
// }
$act = 'CountyCourts';
$versions = array('1841-01-01' => 'http://www.nzlii.org/nz/legis/hist_act/cca18415v1841n2323.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'CourtsofRequests';
$versions = array('1841-01-01' => 'http://www.nzlii.org/nz/legis/hist_act/cora18414v1841n6366.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'Customs';
$versions = array('1841-01-01' => 'http://www.nzlii.org/nz/legis/hist_act/ca18414v1841n3244.pdf');
/*
$act = 'BillofRights';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/imperial/1688/0002/latest/096be8ed8009aff0.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'OverSeasInvestments';
$versions = array(
'2008-10-01' => 'http://legislation.govt.nz/act/public/2005/0082/latest/096be8ed803812b8.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'copyright';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/1994/0143/1.0/096be8ed8009d137.pdf',
'2007-12-03' => 'http://legislation.govt.nz/act/public/1994/0143/4.0/096be8ed8014e699.pdf',
'2008-04-12' => 'http://legislation.govt.nz/act/public/1994/0143/7.0/096be8ed801c6869.pdf',
'2008-08-01' => 'http://legislation.govt.nz/act/public/1994/0143/10.0/096be8ed802666b0.pdf',
'2008-10-31' => 'http://legislation.govt.nz/act/public/1994/0143/13.0/096be8ed802f3618.pdf',
'2008-12-01' => 'http://legislation.govt.nz/act/public/1994/0143/16.0/096be8ed803164c9.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/1994/0143/latest/096be8ed806218dd.pdf',
);
$act = 'EpidemicPreparedness';
$versions = array(
'2008-09-02' => 'http://legislation.govt.nz/act/public/2006/0085/4.0/096be8ed8028fcd1.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2006/0085/latest/096be8ed805bb7a0.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'WeathertightHomes';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/2006/0084/1.0/096be8ed8009e4d0.pdf',
'2007-08-29' => 'http://legislation.govt.nz/act/public/2006/0084/4.0/096be8ed80118120.pdf',
'2007-12-03' => 'http://legislation.govt.nz/act/public/2006/0084/latest/096be8ed802a7ee6.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'PlumbersGasfittersDrainlayers';
$versions = array(
'2009-09-02' => 'http://legislation.govt.nz/act/public/2006/0074/7.0/096be8ed8052ae2a.pdf',
'2010-04-01' => 'http://legislation.govt.nz/act/public/2006/0074/latest/096be8ed8059bc78.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'Evidence';
$versions = array(
'2009-12-01' => 'http://legislation.govt.nz/act/public/2006/0069/16.0/096be8ed804bed6f.pdf',
'2010-06-01' => 'http://legislation.govt.nz/act/public/2006/0069/19.0/096be8ed805947ee.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2006/0069/latest/096be8ed805bb915.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'NgatiMutungaClaimsSettlement';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/2006/0061/1.0/096be8ed8009e447.pdf',
'2008-05-23' => 'http://legislation.govt.nz/act/public/2006/0061/latest/096be8ed80292b04.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'GeographicalIndicationsWineandSpirits';
$versions = array(
'2006-11-21' => 'http://legislation.govt.nz/act/public/2006/0060/10.0/096be8ed801955d3.pdf',
'2008-04-14' => 'http://legislation.govt.nz/act/public/2006/0060/latest/096be8ed8025ee89.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'SportsAnti-Doping';
$versions = array(
'2008-07-30' => 'http://legislation.govt.nz/act/public/2006/0058/4.0/096be8ed802505bf.pdf',
'2008-10-01' => 'http://legislation.govt.nz/act/public/2006/0058/latest/096be8ed802d76be.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'InsolvencyCross-border';
$versions = array(
'2008-07-23' => 'http://legislation.govt.nz/act/public/2006/0057/22.0/096be8ed8024704b.pdf',
'2008-07-24' => 'http://legislation.govt.nz/act/public/2006/0057/22.0/096be8ed8024704b.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'Insolvency';
$versions = array(
'2010-01-07' => 'http://legislation.govt.nz/act/public/2006/0055/42.0/096be8ed804ed95b.pdf',
'2010-04-01' => 'http://legislation.govt.nz/act/public/2006/0055/45.0/096be8ed80559a5b.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2006/0055/latest/096be8ed805bfa36.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'AppropriationParliamentaryExpenditureValidation';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/2006/0050/1.0/096be8ed8009e407.pdf',
'2008-01-01' => 'http://legislation.govt.nz/act/public/2006/0050/latest/096be8ed8025d44c.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'TeArawaLakesSettlement';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/2006/0043/1.0/096be8ed8009e3ef.pdf',
'2008-04-01' => 'http://legislation.govt.nz/act/public/2006/0043/4.0/096be8ed801c2087.pdf',
'2008-05-23' => 'http://legislation.govt.nz/act/public/2006/0043/latest/096be8ed80277847.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'KiwiSaver';
$versions = array(
'2009-10-06' => 'http://legislation.govt.nz/act/public/2006/0040/33.0/096be8ed80488b63.pdf',
'2010-08-16' => 'http://legislation.govt.nz/act/public/2006/0040/36.0/096be8ed805e1d60.pdf',
'2010-09-07' => 'http://legislation.govt.nz/act/public/2006/0040/latest/096be8ed80600bba.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'Coroners';
$versions = array(
'2009-01-24' => 'http://legislation.govt.nz/act/public/2006/0038/19.0/096be8ed80347be5.pdf',
'2010-03-24' => 'http://legislation.govt.nz/act/public/2006/0038/22.0/096be8ed80549fa7.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2006/0038/latest/096be8ed805ba59f.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'NewZealandSignLanguage';
$versions = array('2008-06-30' => 'http://legislation.govt.nz/act/public/2006/0018/latest/096be8ed802280f3.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'SouthlandAgriculturalandPastoralAssociationEmpowering';
$versions = array('2008-06-20' => 'http://legislation.govt.nz/act/private/2006/0004/latest/096be8ed8021ccdd.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'WestpacNewZealand';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/private/2006/0003/1.0/096be8ed8009b86b.pdf',
'2008-04-01' => 'http://legislation.govt.nz/act/private/2006/0003/latest/096be8ed80229337.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'RotoruaLibraryTrustFundVariation';
$versions = array(
'2008-06-24' => 'http://legislation.govt.nz/act/local/2006/0002/latest/096be8ed802214db.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'ManfeildPark';
$versions = array(
'2008-06-20' => 'http://legislation.govt.nz/act/private/2006/0001/latest/096be8ed8021e382.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'GisborneDistrictCouncilAlfredCoxParkValidation';
$versions = array('2008-06-24' => 'http://legislation.govt.nz/act/local/2006/0001/latest/096be8ed802214b4.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'LawyersandConveyancers';
$versions = array(
'2009-07-01' => 'http://legislation.govt.nz/act/public/2006/0001/44.0/096be8ed803fefa3.pdf',
'2009-11-16' => 'http://legislation.govt.nz/act/public/2006/0001/47.0/096be8ed8057e3b6.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2006/0001/latest/096be8ed805c04f3.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'CourtMartial';
$versions = array(
'2008-06-13' => 'http://legislation.govt.nz/act/public/2007/0101/11.0/096be8ed802612fe.pdf',
'2009-07-01' => 'http://legislation.govt.nz/act/public/2007/0101/17.0/096be8ed80572f53.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2007/0101/latest/096be8ed805bb78a.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'IncomeTax';
$versions = array(
'2010-09-07' => 'http://legislation.govt.nz/act/public/2007/0097/81.0/096be8ed80617c2b.pdf',
'2010-09-26' => 'http://legislation.govt.nz/act/public/2007/0097/84.0/096be8ed80625b62.pdf',
'2010-10-01' => 'http://legislation.govt.nz/act/public/2007/0097/latest/096be8ed80635cc5.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'SuccessionHomicide';
$versions = array('2007-10-18' => 'http://legislation.govt.nz/act/public/2007/0095/latest/096be8ed8059dd0c.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'PropertyLaw';
$versions = array(
'2008-09-25' => 'http://legislation.govt.nz/act/public/2007/0091/26.0/096be8ed8059798d.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2007/0091/29.0/096be8ed805c204d.pdf',
'2010-08-06' => 'http://legislation.govt.nz/act/public/2007/0091/latest/096be8ed805dddb0.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act= 'Wills';
$versions = array('2008-04-24' => 'http://legislation.govt.nz/act/public/2007/0036/latest/096be8ed804efe95.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'MajorEventsManagement';
$versions = array(
'2008-05-23' => 'http://legislation.govt.nz/act/public/2007/0035/7.0/096be8ed801ec6e0.pdf',
'2008-08-01' => 'http://legislation.govt.nz/act/public/2007/0035/latest/096be8ed805848c9.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'SentencingCouncil';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/2007/0025/7.0/096be8ed80108379.pdf',
'2007-11-01' => 'http://legislation.govt.nz/act/public/2007/0025/latest/096be8ed8059bdb5.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'State-OwnedEnterprisesAgriQualityLimitedandAsureNewZealandLimited';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/public/2007/0021/1.0/096be8ed8009e52d.pdf',
'2008-04-01' => 'http://legislation.govt.nz/act/public/2007/0021/4.0/096be8ed801e988a.pdf',
'2009-06-27' => 'http://legislation.govt.nz/act/public/2007/0021/latest/096be8ed8059c1ce.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'ImmigrationAdvisersLicensing';
$versions = array(
'2008-04-29' => 'http://legislation.govt.nz/act/public/2007/0015/10.0/096be8ed805813b8.pdf',
'2010-07-07' => 'http://legislation.govt.nz/act/public/2007/0015/latest/096be8ed805c049a.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'UnsolicitedElectronicMessages';
$versions = array('2007-03-06' => 'http://legislation.govt.nz/act/public/2007/0007/latest/096be8ed8059e272.pdf');
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'PoriruaCityCouncilPauatahanuiBurialGround';
$versions = array(
'2008-03-19' => 'http://legislation.govt.nz/act/local/2007/0001/latest/096be8ed804eff41.pdf'
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
$act = 'FarmersMutualGroup';
$versions = array(
'2007-09-03' => 'http://legislation.govt.nz/act/private/2007/0001/4.0/096be8ed80178c08.pdf',
'2008-04-01' => 'http://legislation.govt.nz/act/private/2007/0001/latest/096be8ed80577a50.pdf',
);
foreach($versions as $date=>$url) {
$legislation[$date .'_'. $act] = array('url' => $url, 'act' => $act, 'date' => $date);
}
*/
ksort($legislation);
return $legislation;
}