Passed
Branch master (6a7148)
by Curtis
01:48
created
library/PhpGedcom/Gedcom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      *
61 61
      * @var \PhpGedcom\Record\Fam[]
62 62
      */
63
-    protected $fam  = array();
63
+    protected $fam = array();
64 64
 
65 65
     /**
66 66
      * Stores all the notes contained within the GEDCOM file that are not inline.
Please login to merge, or discard this patch.
library/PhpGedcom/Record/ObjeRef.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,22 +22,22 @@
 block discarded – undo
22 22
     /**
23 23
      *
24 24
      */
25
-    protected $_isRef   = false;
25
+    protected $_isRef = false;
26 26
 
27 27
     /**
28 28
      *
29 29
      */
30
-    protected $_obje    = null;
30
+    protected $_obje = null;
31 31
 
32 32
     /**
33 33
      *
34 34
      */
35
-    protected $_titl    = null;
35
+    protected $_titl = null;
36 36
 
37 37
     /**
38 38
      *
39 39
      */
40
-    protected $_file    = null;
40
+    protected $_file = null;
41 41
 
42 42
 
43 43
     /**
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Indi.php 1 patch
Indentation   +598 added lines, -598 removed lines patch added patch discarded remove patch
@@ -25,602 +25,602 @@
 block discarded – undo
25 25
  * @package PhpGedcom\Record
26 26
  */
27 27
 class Indi extends Record implements Noteable, Objectable, Sourceable {
28
-	/**
29
-	 * @var string
30
-	 */
31
-	protected $id;
32
-
33
-	/**
34
-	 * @var string
35
-	 */
36
-	protected $uid;
37
-
38
-	/**
39
-	 * @var string
40
-	 */
41
-	protected $resn;
42
-	/**
43
-	 * @var Indi\Name[]
44
-	 */
45
-	protected $name = array();
46
-	/**
47
-	 * @var string
48
-	 */
49
-	protected $sex;
50
-
51
-	/**
52
-	 * @var Indi\Even[]
53
-	 */
54
-	protected $even = array();
55
-	/**
56
-	 * @var Indi\Attr[]
57
-	 */
58
-	protected $attr = array();
59
-	/**
60
-	 * @var Indi\Bapl
61
-	 */
62
-	protected $bapl = array();
63
-
64
-	/**
65
-	 * @var Indi\Conl
66
-	 */
67
-	protected $conl = array();
68
-
69
-	/**
70
-	 * @var Indi\Endl
71
-	 */
72
-	protected $endl = array();
73
-
74
-	/**
75
-	 * @var Indi\Slgc
76
-	 */
77
-	protected $slgc = array();
78
-
79
-	/**
80
-	 * @var Indi\Famc[]
81
-	 */
82
-	protected $famc = array();
83
-	/**
84
-	 * @var Indi\Fams[]
85
-	 */
86
-	protected $fams = array();
87
-	/**
88
-	 * @var string[]
89
-	 */
90
-	protected $subm = array();
91
-	/**
92
-	 * @var string[]
93
-	 */
94
-	protected $alia = array();
95
-	/**
96
-	 * @var string[]
97
-	 */
98
-	protected $anci = array();
99
-	/**
100
-	 * @var string[]
101
-	 */
102
-	protected $desi = array();
103
-	/**
104
-	 * @var string
105
-	 */
106
-	protected $rfn;	
107
-	/**
108
-	 * @var string
109
-	 */
110
-	protected $afn;
111
-	/**
112
-	 * @var Refn[]
113
-	 */
114
-	protected $refn = array();
115
-	/**
116
-	 * @var string
117
-	 */
118
-	protected $rin;
119
-
120
-	/**
121
-	 * @var string
122
-	 */
123
-	protected $chan;
124
-
125
-
126
-	/**
127
-	 * @var Indi\Note[]
128
-	 */
129
-	protected $note = array();
130
-
131
-	/**
132
-	 * @var Obje[]
133
-	 */
134
-	protected $obje = array();
135
-
136
-	/**
137
-	 * @var Sour[]
138
-	 */
139
-	protected $sour = array();
140
-
141
-
142
-	/**
143
-	 * @var Indi\Asso[]
144
-	 */
145
-	protected $asso = array();
146
-
147
-
148
-
149
-	/**
150
-	 * @param string $id
151
-	 * @return Indi
152
-	 */
153
-	public function setId($id = '') {
154
-		$this->id = $id;
155
-		return $this;
156
-	}
157
-
158
-	/**
159
-	 * @return string
160
-	 */
161
-	public function getId() {
162
-		return $this->id;
163
-	}
164
-
165
-	/**
166
-	 * @param string $uid
167
-	 * @return Indi
168
-	 */
169
-	public function setUid($uid = '') {
170
-		$this->uid = $uid;
171
-		return $this;
172
-	}
173
-
174
-	/**
175
-	 * @return string
176
-	 */
177
-	public function getUid() {
178
-		return $this->uid;
179
-	}
180
-
181
-	/**
182
-	 * @param Indi\Name $name
183
-	 * @return Indi
184
-	 */
185
-	public function addName($name = []) {
186
-		$this->name[] = $name;
187
-		return $this;
188
-	}
189
-
190
-	/**
191
-	 * @return Indi\Name[]
192
-	 */
193
-	public function getName() {
194
-		return $this->name;
195
-	}
196
-
197
-	/**
198
-	 * @param Indi\Attr $attr
199
-	 * @return Indi
200
-	 */
201
-	public function addAttr($attr = []) {
202
-		$attrName = $attr->getType();
203
-
204
-		if (!array_key_exists($attrName, $this->attr)) {
205
-			$this->attr[$attrName] = [];
206
-		}
207
-
208
-		$this->attr[$attrName][] = $attr;
209
-		return $this;
210
-	}
211
-
212
-	/**
213
-	 * @return Indi\Attr[]
214
-	 */
215
-	public function getAllAttr() {
216
-		return $this->attr;
217
-	}
218
-	/**
219
-	 * @return Indi\Attr[]
220
-	 */
221
-	public function getAttr($key = '') {
222
-		if (isset($this->attr[strtoupper($key)])) {
223
-			return $this->attr[strtoupper($key)];
224
-		}
225
-
226
-	}
227
-	/**
228
-	 * @param Indi\Even $even
229
-	 * @return Indi
230
-	 */
231
-	public function addEven($even = []) {
232
-		$evenName = $even->getType();
233
-
234
-		if (!array_key_exists($evenName, $this->even)) {
235
-			$this->even[$evenName] = [];
236
-		}
237
-
238
-		$this->even[$evenName][] = $even;
239
-		return $this;
240
-	}
241
-
242
-	/**
243
-	 * @return array
244
-	 */
245
-	public function getAllEven() {
246
-		return $this->even;
247
-	}
248
-
249
-	/**
250
-	 * @return array
251
-	 */
252
-	public function getEven($key = '') {
253
-		if (isset($this->even[strtoupper($key)])) {
254
-			return $this->even[strtoupper($key)];
255
-		}
256
-
257
-	}
258
-
259
-	/**
260
-	 * @param Indi\Asso $asso
261
-	 * @return Indi
262
-	 */
263
-	public function addAsso($asso = []) {
264
-		$this->asso[] = $asso;
265
-		return $this;
266
-	}
267
-
268
-	/**
269
-	 * @return array
270
-	 */
271
-	public function getAsso() {
272
-		return $this->asso;
273
-	}
274
-
275
-	/**
276
-	 * @param Refn $ref
277
-	 * @return Indi
278
-	 */
279
-	public function addRefn($ref = []) {
280
-		$this->refn[] = $ref;
281
-		return $this;
282
-	}
283
-
284
-	/**
285
-	 * @return Refn[]
286
-	 */
287
-	public function getRefn() {
288
-		return $this->refn;
289
-	}
290
-
291
-	/**
292
-	 * @param \PhpGedcom\Record\NoteRef $note
293
-	 * @return Indi
294
-	 */
295
-	public function addNote($note = []) {
296
-		$this->note[] = $note;
297
-		return $this;
298
-	}
299
-
300
-	/**
301
-	 * @return array
302
-	 */
303
-	public function getNote() {
304
-		return $this->note;
305
-	}
306
-
307
-	/**
308
-	 * @param ObjeRef $obje
309
-	 * @return Indi
310
-	 */
311
-	public function addObje($obje = []) {
312
-		$this->obje[] = $obje;
313
-		return $this;
314
-	}
315
-
316
-	/**
317
-	 * @return array
318
-	 */
319
-	public function getObje() {
320
-		return $this->obje;
321
-	}
322
-
323
-	/**
324
-	 * @param SourRef $sour
325
-	 * @return Indi
326
-	 */
327
-	public function addSour($sour = []) {
328
-		$this->sour[] = $sour;
329
-		return $this;
330
-	}
331
-
332
-	/**
333
-	 * @return array
334
-	 */
335
-	public function getSour() {
336
-		return $this->sour;
337
-	}
338
-
339
-	/**
340
-	 * @param string $indi
341
-	 * @return Indi
342
-	 */
343
-	public function addAlia($indi = '') {
344
-		$this->alia[] = $indi;
345
-		return $this;
346
-	}
347
-
348
-	/**
349
-	 * @return array
350
-	 */
351
-	public function getAlia() {
352
-		return $this->alia;
353
-	}
354
-
355
-	/**
356
-	 * @param Indi\Famc $famc
357
-	 * @return Indi
358
-	 */
359
-	public function addFamc($famc = []) {
360
-		$this->famc[] = $famc;
361
-		return $this;
362
-	}
363
-
364
-	/**
365
-	 * @return array
366
-	 */
367
-	public function getFamc() {
368
-		return $this->famc;
369
-	}
370
-
371
-	/**
372
-	 * @param Indi\Fams $fams
373
-	 * @return Indi
374
-	 */
375
-	public function addFams($fams = []) {
376
-		$this->fams[] = $fams;
377
-		return $this;
378
-	}
379
-
380
-	/**
381
-	 * @return array
382
-	 */
383
-	public function getFams() {
384
-		return $this->fams;
385
-	}
386
-
387
-	/**
388
-	 * @param string $subm
389
-	 * @return Indi
390
-	 */
391
-	public function addAnci($subm = '') {
392
-		$this->anci[] = $subm;
393
-		return $this;
394
-	}
395
-
396
-	/**
397
-	 * @return string[]
398
-	 */
399
-	public function getAnci() {
400
-		return $this->anci;
401
-	}
402
-
403
-	/**
404
-	 * @param string $subm
405
-	 * @return Indi
406
-	 */
407
-	public function addDesi($subm = '') {
408
-		$this->desi[] = $subm;
409
-		return $this;
410
-	}
411
-
412
-	/**
413
-	 * @return string[]
414
-	 */
415
-	public function getDesi() {
416
-		return $this->desi;
417
-	}
418
-
419
-	/**
420
-	 * @param string $subm
421
-	 * @return Indi
422
-	 */
423
-	public function addSubm($subm = '') {
424
-		$this->subm[] = $subm;
425
-		return $this;
426
-	}
427
-
428
-	/**
429
-	 * @return string[]
430
-	 */
431
-	public function getSubm() {
432
-		return $this->subm;
433
-	}
434
-
435
-	/**
436
-	 * @param string $resn
437
-	 * @return Indi
438
-	 */
439
-	public function setResn($resn = '') {
440
-		$this->resn = $resn;
441
-		return $this;
442
-	}
443
-
444
-	/**
445
-	 * @return string
446
-	 */
447
-	public function getResn() {
448
-		return $this->resn;
449
-	}
450
-
451
-	/**
452
-	 * @param string $sex
453
-	 * @return Indi
454
-	 */
455
-	public function setSex($sex = '') {
456
-		$this->sex = $sex;
457
-		return $this;
458
-	}
459
-
460
-	/**
461
-	 * @return string
462
-	 */
463
-	public function getSex() {
464
-		return $this->sex;
465
-	}
466
-
467
-	/**
468
-	 * @param string $rfn
469
-	 * @return Indi
470
-	 */
471
-	public function setRfn($rfn = '') {
472
-		$this->rfn = $rfn;
473
-		return $this;
474
-	}
475
-
476
-	/**
477
-	 * @return string
478
-	 */
479
-	public function getRfn() {
480
-		return $this->rfn;
481
-	}
482
-
483
-	/**
484
-	 * @param string $afn
485
-	 * @return Indi
486
-	 */
487
-	public function setAfn($afn = '') {
488
-		$this->afn = $afn;
489
-		return $this;
490
-	}
491
-
492
-	/**
493
-	 * @return string
494
-	 */
495
-	public function getAfn() {
496
-		return $this->afn;
497
-	}
498
-
499
-	/**
500
-	 * @param string $chan
501
-	 * @return Indi
502
-	 */
503
-	public function setChan($chan = null) {
504
-		$this->chan = $chan;
505
-		return $this;
506
-	}
507
-
508
-	/**
509
-	 * @return string
510
-	 */
511
-	public function getChan() {
512
-		return $this->chan;
513
-	}
514
-
515
-	/**
516
-	 * @param string $rin
517
-	 * @return Indi
518
-	 */
519
-	public function setRin($rin = '') {
520
-		$this->rin = $rin;
521
-		return $this;
522
-	}
523
-
524
-	/**
525
-	 * @return string
526
-	 */
527
-	public function getRin() {
528
-		return $this->rin;
529
-	}
530
-
531
-	/**
532
-	 * @param Indi\Bapl $bapl
533
-	 * @return Indi
534
-	 */
535
-	public function setBapl($bapl = []) {
536
-		$this->bapl = $bapl;
537
-		return $this;
538
-	}
539
-	/**
540
-	 * @param Indi\Bapl $bapl
541
-	 * @return Indi
542
-	 */
543
-	public function addBapl($bapl = null) {
544
-		$this->bapl[] = $bapl;
545
-		return $this;
546
-	}
547
-	/**
548
-	 * @return Indi\Bapl
549
-	 */
550
-	public function getBapl() {
551
-		return $this->bapl;
552
-	}
553
-
554
-	/**
555
-	 * @param Indi\Conl $conl
556
-	 * @return Indi
557
-	 */
558
-	public function setConl($conl = []) {
559
-		$this->conl = $conl;
560
-		return $this;
561
-	}
562
-	/**
563
-	 * @param Indi\Conl $conl
564
-	 * @return Indi
565
-	 */
566
-	public function addConl($conl) {
567
-		$this->conl[] = $conl;
568
-		return $this;
569
-	}
570
-
571
-	/**
572
-	 * @return Indi\Conl
573
-	 */
574
-	public function getConl() {
575
-		return $this->conl;
576
-	}
577
-
578
-	/**
579
-	 * @param Indi\Endl $endl
580
-	 * @return Indi
581
-	 */
582
-	public function setEndl($endl = []) {
583
-		$this->endl = $endl;
584
-		return $this;
585
-	}
586
-	/**
587
-	 * @param Indi\Endl $endl
588
-	 * @return Indi
589
-	 */
590
-	public function addEndl($endl) {
591
-		$this->endl[] = $endl;
592
-		return $this;
593
-	}
594
-
595
-	/**
596
-	 * @return Indi\Endl
597
-	 */
598
-	public function getEndl() {
599
-		return $this->endl;
600
-	}
601
-
602
-	/**
603
-	 * @param Indi\Slgc $slgc
604
-	 * @return Indi
605
-	 */
606
-	public function setSlgc($slgc = []) {
607
-		$this->slgc = $slgc;
608
-		return $this;
609
-	}
610
-
611
-	/**
612
-	 * @param Indi\Slgc $slgc
613
-	 * @return Indi
614
-	 */
615
-	public function addSlgc($slgc) {
616
-		$this->slgc[] = $slgc;
617
-		return $this;
618
-	}
619
-
620
-	/**
621
-	 * @return Indi\Slgc
622
-	 */
623
-	public function getSlgc() {
624
-		return $this->slgc;
625
-	}
28
+    /**
29
+     * @var string
30
+     */
31
+    protected $id;
32
+
33
+    /**
34
+     * @var string
35
+     */
36
+    protected $uid;
37
+
38
+    /**
39
+     * @var string
40
+     */
41
+    protected $resn;
42
+    /**
43
+     * @var Indi\Name[]
44
+     */
45
+    protected $name = array();
46
+    /**
47
+     * @var string
48
+     */
49
+    protected $sex;
50
+
51
+    /**
52
+     * @var Indi\Even[]
53
+     */
54
+    protected $even = array();
55
+    /**
56
+     * @var Indi\Attr[]
57
+     */
58
+    protected $attr = array();
59
+    /**
60
+     * @var Indi\Bapl
61
+     */
62
+    protected $bapl = array();
63
+
64
+    /**
65
+     * @var Indi\Conl
66
+     */
67
+    protected $conl = array();
68
+
69
+    /**
70
+     * @var Indi\Endl
71
+     */
72
+    protected $endl = array();
73
+
74
+    /**
75
+     * @var Indi\Slgc
76
+     */
77
+    protected $slgc = array();
78
+
79
+    /**
80
+     * @var Indi\Famc[]
81
+     */
82
+    protected $famc = array();
83
+    /**
84
+     * @var Indi\Fams[]
85
+     */
86
+    protected $fams = array();
87
+    /**
88
+     * @var string[]
89
+     */
90
+    protected $subm = array();
91
+    /**
92
+     * @var string[]
93
+     */
94
+    protected $alia = array();
95
+    /**
96
+     * @var string[]
97
+     */
98
+    protected $anci = array();
99
+    /**
100
+     * @var string[]
101
+     */
102
+    protected $desi = array();
103
+    /**
104
+     * @var string
105
+     */
106
+    protected $rfn;	
107
+    /**
108
+     * @var string
109
+     */
110
+    protected $afn;
111
+    /**
112
+     * @var Refn[]
113
+     */
114
+    protected $refn = array();
115
+    /**
116
+     * @var string
117
+     */
118
+    protected $rin;
119
+
120
+    /**
121
+     * @var string
122
+     */
123
+    protected $chan;
124
+
125
+
126
+    /**
127
+     * @var Indi\Note[]
128
+     */
129
+    protected $note = array();
130
+
131
+    /**
132
+     * @var Obje[]
133
+     */
134
+    protected $obje = array();
135
+
136
+    /**
137
+     * @var Sour[]
138
+     */
139
+    protected $sour = array();
140
+
141
+
142
+    /**
143
+     * @var Indi\Asso[]
144
+     */
145
+    protected $asso = array();
146
+
147
+
148
+
149
+    /**
150
+     * @param string $id
151
+     * @return Indi
152
+     */
153
+    public function setId($id = '') {
154
+        $this->id = $id;
155
+        return $this;
156
+    }
157
+
158
+    /**
159
+     * @return string
160
+     */
161
+    public function getId() {
162
+        return $this->id;
163
+    }
164
+
165
+    /**
166
+     * @param string $uid
167
+     * @return Indi
168
+     */
169
+    public function setUid($uid = '') {
170
+        $this->uid = $uid;
171
+        return $this;
172
+    }
173
+
174
+    /**
175
+     * @return string
176
+     */
177
+    public function getUid() {
178
+        return $this->uid;
179
+    }
180
+
181
+    /**
182
+     * @param Indi\Name $name
183
+     * @return Indi
184
+     */
185
+    public function addName($name = []) {
186
+        $this->name[] = $name;
187
+        return $this;
188
+    }
189
+
190
+    /**
191
+     * @return Indi\Name[]
192
+     */
193
+    public function getName() {
194
+        return $this->name;
195
+    }
196
+
197
+    /**
198
+     * @param Indi\Attr $attr
199
+     * @return Indi
200
+     */
201
+    public function addAttr($attr = []) {
202
+        $attrName = $attr->getType();
203
+
204
+        if (!array_key_exists($attrName, $this->attr)) {
205
+            $this->attr[$attrName] = [];
206
+        }
207
+
208
+        $this->attr[$attrName][] = $attr;
209
+        return $this;
210
+    }
211
+
212
+    /**
213
+     * @return Indi\Attr[]
214
+     */
215
+    public function getAllAttr() {
216
+        return $this->attr;
217
+    }
218
+    /**
219
+     * @return Indi\Attr[]
220
+     */
221
+    public function getAttr($key = '') {
222
+        if (isset($this->attr[strtoupper($key)])) {
223
+            return $this->attr[strtoupper($key)];
224
+        }
225
+
226
+    }
227
+    /**
228
+     * @param Indi\Even $even
229
+     * @return Indi
230
+     */
231
+    public function addEven($even = []) {
232
+        $evenName = $even->getType();
233
+
234
+        if (!array_key_exists($evenName, $this->even)) {
235
+            $this->even[$evenName] = [];
236
+        }
237
+
238
+        $this->even[$evenName][] = $even;
239
+        return $this;
240
+    }
241
+
242
+    /**
243
+     * @return array
244
+     */
245
+    public function getAllEven() {
246
+        return $this->even;
247
+    }
248
+
249
+    /**
250
+     * @return array
251
+     */
252
+    public function getEven($key = '') {
253
+        if (isset($this->even[strtoupper($key)])) {
254
+            return $this->even[strtoupper($key)];
255
+        }
256
+
257
+    }
258
+
259
+    /**
260
+     * @param Indi\Asso $asso
261
+     * @return Indi
262
+     */
263
+    public function addAsso($asso = []) {
264
+        $this->asso[] = $asso;
265
+        return $this;
266
+    }
267
+
268
+    /**
269
+     * @return array
270
+     */
271
+    public function getAsso() {
272
+        return $this->asso;
273
+    }
274
+
275
+    /**
276
+     * @param Refn $ref
277
+     * @return Indi
278
+     */
279
+    public function addRefn($ref = []) {
280
+        $this->refn[] = $ref;
281
+        return $this;
282
+    }
283
+
284
+    /**
285
+     * @return Refn[]
286
+     */
287
+    public function getRefn() {
288
+        return $this->refn;
289
+    }
290
+
291
+    /**
292
+     * @param \PhpGedcom\Record\NoteRef $note
293
+     * @return Indi
294
+     */
295
+    public function addNote($note = []) {
296
+        $this->note[] = $note;
297
+        return $this;
298
+    }
299
+
300
+    /**
301
+     * @return array
302
+     */
303
+    public function getNote() {
304
+        return $this->note;
305
+    }
306
+
307
+    /**
308
+     * @param ObjeRef $obje
309
+     * @return Indi
310
+     */
311
+    public function addObje($obje = []) {
312
+        $this->obje[] = $obje;
313
+        return $this;
314
+    }
315
+
316
+    /**
317
+     * @return array
318
+     */
319
+    public function getObje() {
320
+        return $this->obje;
321
+    }
322
+
323
+    /**
324
+     * @param SourRef $sour
325
+     * @return Indi
326
+     */
327
+    public function addSour($sour = []) {
328
+        $this->sour[] = $sour;
329
+        return $this;
330
+    }
331
+
332
+    /**
333
+     * @return array
334
+     */
335
+    public function getSour() {
336
+        return $this->sour;
337
+    }
338
+
339
+    /**
340
+     * @param string $indi
341
+     * @return Indi
342
+     */
343
+    public function addAlia($indi = '') {
344
+        $this->alia[] = $indi;
345
+        return $this;
346
+    }
347
+
348
+    /**
349
+     * @return array
350
+     */
351
+    public function getAlia() {
352
+        return $this->alia;
353
+    }
354
+
355
+    /**
356
+     * @param Indi\Famc $famc
357
+     * @return Indi
358
+     */
359
+    public function addFamc($famc = []) {
360
+        $this->famc[] = $famc;
361
+        return $this;
362
+    }
363
+
364
+    /**
365
+     * @return array
366
+     */
367
+    public function getFamc() {
368
+        return $this->famc;
369
+    }
370
+
371
+    /**
372
+     * @param Indi\Fams $fams
373
+     * @return Indi
374
+     */
375
+    public function addFams($fams = []) {
376
+        $this->fams[] = $fams;
377
+        return $this;
378
+    }
379
+
380
+    /**
381
+     * @return array
382
+     */
383
+    public function getFams() {
384
+        return $this->fams;
385
+    }
386
+
387
+    /**
388
+     * @param string $subm
389
+     * @return Indi
390
+     */
391
+    public function addAnci($subm = '') {
392
+        $this->anci[] = $subm;
393
+        return $this;
394
+    }
395
+
396
+    /**
397
+     * @return string[]
398
+     */
399
+    public function getAnci() {
400
+        return $this->anci;
401
+    }
402
+
403
+    /**
404
+     * @param string $subm
405
+     * @return Indi
406
+     */
407
+    public function addDesi($subm = '') {
408
+        $this->desi[] = $subm;
409
+        return $this;
410
+    }
411
+
412
+    /**
413
+     * @return string[]
414
+     */
415
+    public function getDesi() {
416
+        return $this->desi;
417
+    }
418
+
419
+    /**
420
+     * @param string $subm
421
+     * @return Indi
422
+     */
423
+    public function addSubm($subm = '') {
424
+        $this->subm[] = $subm;
425
+        return $this;
426
+    }
427
+
428
+    /**
429
+     * @return string[]
430
+     */
431
+    public function getSubm() {
432
+        return $this->subm;
433
+    }
434
+
435
+    /**
436
+     * @param string $resn
437
+     * @return Indi
438
+     */
439
+    public function setResn($resn = '') {
440
+        $this->resn = $resn;
441
+        return $this;
442
+    }
443
+
444
+    /**
445
+     * @return string
446
+     */
447
+    public function getResn() {
448
+        return $this->resn;
449
+    }
450
+
451
+    /**
452
+     * @param string $sex
453
+     * @return Indi
454
+     */
455
+    public function setSex($sex = '') {
456
+        $this->sex = $sex;
457
+        return $this;
458
+    }
459
+
460
+    /**
461
+     * @return string
462
+     */
463
+    public function getSex() {
464
+        return $this->sex;
465
+    }
466
+
467
+    /**
468
+     * @param string $rfn
469
+     * @return Indi
470
+     */
471
+    public function setRfn($rfn = '') {
472
+        $this->rfn = $rfn;
473
+        return $this;
474
+    }
475
+
476
+    /**
477
+     * @return string
478
+     */
479
+    public function getRfn() {
480
+        return $this->rfn;
481
+    }
482
+
483
+    /**
484
+     * @param string $afn
485
+     * @return Indi
486
+     */
487
+    public function setAfn($afn = '') {
488
+        $this->afn = $afn;
489
+        return $this;
490
+    }
491
+
492
+    /**
493
+     * @return string
494
+     */
495
+    public function getAfn() {
496
+        return $this->afn;
497
+    }
498
+
499
+    /**
500
+     * @param string $chan
501
+     * @return Indi
502
+     */
503
+    public function setChan($chan = null) {
504
+        $this->chan = $chan;
505
+        return $this;
506
+    }
507
+
508
+    /**
509
+     * @return string
510
+     */
511
+    public function getChan() {
512
+        return $this->chan;
513
+    }
514
+
515
+    /**
516
+     * @param string $rin
517
+     * @return Indi
518
+     */
519
+    public function setRin($rin = '') {
520
+        $this->rin = $rin;
521
+        return $this;
522
+    }
523
+
524
+    /**
525
+     * @return string
526
+     */
527
+    public function getRin() {
528
+        return $this->rin;
529
+    }
530
+
531
+    /**
532
+     * @param Indi\Bapl $bapl
533
+     * @return Indi
534
+     */
535
+    public function setBapl($bapl = []) {
536
+        $this->bapl = $bapl;
537
+        return $this;
538
+    }
539
+    /**
540
+     * @param Indi\Bapl $bapl
541
+     * @return Indi
542
+     */
543
+    public function addBapl($bapl = null) {
544
+        $this->bapl[] = $bapl;
545
+        return $this;
546
+    }
547
+    /**
548
+     * @return Indi\Bapl
549
+     */
550
+    public function getBapl() {
551
+        return $this->bapl;
552
+    }
553
+
554
+    /**
555
+     * @param Indi\Conl $conl
556
+     * @return Indi
557
+     */
558
+    public function setConl($conl = []) {
559
+        $this->conl = $conl;
560
+        return $this;
561
+    }
562
+    /**
563
+     * @param Indi\Conl $conl
564
+     * @return Indi
565
+     */
566
+    public function addConl($conl) {
567
+        $this->conl[] = $conl;
568
+        return $this;
569
+    }
570
+
571
+    /**
572
+     * @return Indi\Conl
573
+     */
574
+    public function getConl() {
575
+        return $this->conl;
576
+    }
577
+
578
+    /**
579
+     * @param Indi\Endl $endl
580
+     * @return Indi
581
+     */
582
+    public function setEndl($endl = []) {
583
+        $this->endl = $endl;
584
+        return $this;
585
+    }
586
+    /**
587
+     * @param Indi\Endl $endl
588
+     * @return Indi
589
+     */
590
+    public function addEndl($endl) {
591
+        $this->endl[] = $endl;
592
+        return $this;
593
+    }
594
+
595
+    /**
596
+     * @return Indi\Endl
597
+     */
598
+    public function getEndl() {
599
+        return $this->endl;
600
+    }
601
+
602
+    /**
603
+     * @param Indi\Slgc $slgc
604
+     * @return Indi
605
+     */
606
+    public function setSlgc($slgc = []) {
607
+        $this->slgc = $slgc;
608
+        return $this;
609
+    }
610
+
611
+    /**
612
+     * @param Indi\Slgc $slgc
613
+     * @return Indi
614
+     */
615
+    public function addSlgc($slgc) {
616
+        $this->slgc[] = $slgc;
617
+        return $this;
618
+    }
619
+
620
+    /**
621
+     * @return Indi\Slgc
622
+     */
623
+    public function getSlgc() {
624
+        return $this->slgc;
625
+    }
626 626
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Fam/Even.php 1 patch
Indentation   +46 added lines, -46 removed lines patch added patch discarded remove patch
@@ -27,61 +27,61 @@
 block discarded – undo
27 27
  * @method string getPlac()
28 28
  */
29 29
 class Even extends \PhpGedcom\Record implements Objectable, Sourceable, Noteable {
30
-	protected $_type = null;
31
-	protected $_date = null;
32
-	protected $_plac = null;
33
-	protected $_caus = null;
34
-	protected $_age = null;
30
+    protected $_type = null;
31
+    protected $_date = null;
32
+    protected $_plac = null;
33
+    protected $_caus = null;
34
+    protected $_age = null;
35 35
 
36
-	protected $_addr = null;
36
+    protected $_addr = null;
37 37
 
38
-	protected $_phon = array();
38
+    protected $_phon = array();
39 39
 
40
-	protected $_agnc = null;
40
+    protected $_agnc = null;
41 41
 
42
-	protected $_husb = null;
43
-	protected $_wife = null;
42
+    protected $_husb = null;
43
+    protected $_wife = null;
44 44
 
45
-	/**
46
-	 *
47
-	 */
48
-	protected $_obje = array();
45
+    /**
46
+     *
47
+     */
48
+    protected $_obje = array();
49 49
 
50
-	/**
51
-	 *
52
-	 */
53
-	protected $_sour = array();
50
+    /**
51
+     *
52
+     */
53
+    protected $_sour = array();
54 54
 
55
-	/**
56
-	 *
57
-	 */
58
-	protected $_note = array();
55
+    /**
56
+     *
57
+     */
58
+    protected $_note = array();
59 59
 
60
-	/**
61
-	 *
62
-	 */
63
-	public function addPhon($phon = []) {
64
-		$this->_phon[] = $phon;
65
-	}
60
+    /**
61
+     *
62
+     */
63
+    public function addPhon($phon = []) {
64
+        $this->_phon[] = $phon;
65
+    }
66 66
 
67
-	/**
68
-	 *
69
-	 */
70
-	public function addObje($obje = []) {
71
-		$this->_obje[] = $obje;
72
-	}
67
+    /**
68
+     *
69
+     */
70
+    public function addObje($obje = []) {
71
+        $this->_obje[] = $obje;
72
+    }
73 73
 
74
-	/**
75
-	 *
76
-	 */
77
-	public function addSour($sour = []) {
78
-		$this->_sour[] = $sour;
79
-	}
74
+    /**
75
+     *
76
+     */
77
+    public function addSour($sour = []) {
78
+        $this->_sour[] = $sour;
79
+    }
80 80
 
81
-	/**
82
-	 *
83
-	 */
84
-	public function addNote($note = []) {
85
-		$this->_note[] = $note;
86
-	}
81
+    /**
82
+     *
83
+     */
84
+    public function addNote($note = []) {
85
+        $this->_note[] = $note;
86
+    }
87 87
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Sour/Repo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     /**
44 44
      * 
45 45
      */
46
-    public function addCaln($caln=[]){
46
+    public function addCaln($caln = []) {
47 47
         $this->_caln[] = $caln;
48 48
     }
49 49
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Repo.php 1 patch
Indentation   +236 added lines, -236 removed lines patch added patch discarded remove patch
@@ -21,240 +21,240 @@
 block discarded – undo
21 21
  * @package PhpGedcom\Record
22 22
  */
23 23
 class Repo extends Record implements Noteable {
24
-	/**
25
-	 * @var string
26
-	 */
27
-	protected $repo;
28
-
29
-	/**
30
-	 * @var string
31
-	 */
32
-	protected $name;
33
-
34
-	/**
35
-	 * @var Addr
36
-	 */
37
-	protected $addr;
38
-
39
-	/**
40
-	 * @var array
41
-	 */
42
-	protected $phon = array();
43
-	/**
44
-	 * @var array
45
-	 */
46
-	protected $email = array();
47
-	/**
48
-	 * @var array
49
-	 */
50
-	protected $fax = array();
51
-	/**
52
-	 * @var array
53
-	 */
54
-	protected $www = array();				
55
-	/**
56
-	 * @var string
57
-	 */
58
-	protected $rin;
59
-
60
-	/**
61
-	 * @var Chan
62
-	 */
63
-	protected $chan;
64
-
65
-
66
-
67
-	/**
68
-	 * @var array
69
-	 */
70
-	protected $refn = array();
71
-
72
-	/**
73
-	 * @var array
74
-	 */
75
-	protected $note = array();
76
-
77
-	/**
78
-	 * @param null
79
-	 * @return Repo
80
-	 */
81
-	public function addPhon($phon = null) {
82
-		$this->phon[] = $phon;
83
-		return $this;
84
-	}
85
-
86
-	/**
87
-	 * @return array
88
-	 */
89
-	public function getPhon() {
90
-		return $this->phon;
91
-	}
92
-
93
-	/**
94
-	 * @param null
95
-	 * @return Repo
96
-	 */
97
-	public function addEmail($email = null) {
98
-		$this->email[] = $email;
99
-		return $this;
100
-	}
101
-
102
-	/**
103
-	 * @return array
104
-	 */
105
-	public function getEmail() {
106
-		return $this->email;
107
-	}
108
-
109
-	/**
110
-	 * @param null
111
-	 * @return Repo
112
-	 */
113
-	public function addFax($fax = null) {
114
-		$this->fax[] = $fax;
115
-		return $this;
116
-	}
117
-
118
-	/**
119
-	 * @return array
120
-	 */
121
-	public function getFax() {
122
-		return $this->fax;
123
-	}
124
-	/**
125
-	 * @param null
126
-	 * @return Repo
127
-	 */
128
-	public function addWww($www = null) {
129
-		$this->www[] = $www;
130
-		return $this;
131
-	}
132
-
133
-	/**
134
-	 * @return array
135
-	 */
136
-	public function getWww() {
137
-		return $this->www;
138
-	}
139
-
140
-	/**
141
-	 * @param null|\PhpGedcom\Record\Refn $refn
142
-	 * @return Repo
143
-	 */
144
-	public function addRefn($refn = null) {
145
-		if (empty($refn)) {
146
-			$refn = new \PhpGedcom\Record\Refn();
147
-		}
148
-		$this->refn[] = $refn;
149
-		return $this;
150
-	}
151
-
152
-	/**
153
-	 * @return array
154
-	 */
155
-	public function getRefn() {
156
-		return $this->refn;
157
-	}
158
-
159
-	/**
160
-	 * @param null|\PhpGedcom\Record\NoteRef $note
161
-	 * @return Repo
162
-	 */
163
-	public function addNote($note = null) {
164
-		if (empty($node)) {
165
-			$note = new \PhpGedcom\Record\NoteRef();
166
-		}
167
-		$this->note[] = $note;
168
-		return $this;
169
-	}
170
-
171
-	/**
172
-	 * @return array
173
-	 */
174
-	public function getNote() {
175
-		return $this->note;
176
-	}
177
-
178
-	/**
179
-	 * @param string $repo
180
-	 * @return Repo
181
-	 */
182
-	public function setRepo($repo = '') {
183
-		$this->repo = $repo;
184
-		return $this;
185
-	}
186
-
187
-	/**
188
-	 * @return string
189
-	 */
190
-	public function getRepo() {
191
-		return $this->repo;
192
-	}
193
-
194
-	/**
195
-	 * @param string $name
196
-	 * @return Repo
197
-	 */
198
-	public function setName($name = '') {
199
-		$this->name = $name;
200
-		return $this;
201
-	}
202
-
203
-	/**
204
-	 * @return string
205
-	 */
206
-	public function getName() {
207
-		return $this->name;
208
-	}
209
-
210
-	/**
211
-	 * @param null|\PhpGedcom\Record\Addr $addr
212
-	 * @return Repo
213
-	 */
214
-	public function setAddr($addr = null) {
215
-		if (empty($addr)) {
216
-			$addr = new \PhpGedcom\Record\Addr();
217
-		}
218
-		$this->addr = $addr;
219
-		return $this;
220
-	}
221
-
222
-	/**
223
-	 * @return \PhpGedcom\Record\Addr
224
-	 */
225
-	public function getAddr() {
226
-		return $this->addr;
227
-	}
228
-
229
-	/**
230
-	 * @param string $rin
231
-	 * @return Repo
232
-	 */
233
-	public function setRin($rin = '') {
234
-		$this->rin = $rin;
235
-		return $this;
236
-	}
237
-
238
-	/**
239
-	 * @return string
240
-	 */
241
-	public function getRin() {
242
-		return $this->rin;
243
-	}
244
-
245
-	/**
246
-	 * @param \PhpGedcom\Record\Chan $chan
247
-	 * @return Repo
248
-	 */
249
-	public function setChan($chan = []) {
250
-		$this->chan = $chan;
251
-		return $this;
252
-	}
253
-
254
-	/**
255
-	 * @return \PhpGedcom\Record\Chan
256
-	 */
257
-	public function getChan() {
258
-		return $this->chan;
259
-	}
24
+    /**
25
+     * @var string
26
+     */
27
+    protected $repo;
28
+
29
+    /**
30
+     * @var string
31
+     */
32
+    protected $name;
33
+
34
+    /**
35
+     * @var Addr
36
+     */
37
+    protected $addr;
38
+
39
+    /**
40
+     * @var array
41
+     */
42
+    protected $phon = array();
43
+    /**
44
+     * @var array
45
+     */
46
+    protected $email = array();
47
+    /**
48
+     * @var array
49
+     */
50
+    protected $fax = array();
51
+    /**
52
+     * @var array
53
+     */
54
+    protected $www = array();				
55
+    /**
56
+     * @var string
57
+     */
58
+    protected $rin;
59
+
60
+    /**
61
+     * @var Chan
62
+     */
63
+    protected $chan;
64
+
65
+
66
+
67
+    /**
68
+     * @var array
69
+     */
70
+    protected $refn = array();
71
+
72
+    /**
73
+     * @var array
74
+     */
75
+    protected $note = array();
76
+
77
+    /**
78
+     * @param null
79
+     * @return Repo
80
+     */
81
+    public function addPhon($phon = null) {
82
+        $this->phon[] = $phon;
83
+        return $this;
84
+    }
85
+
86
+    /**
87
+     * @return array
88
+     */
89
+    public function getPhon() {
90
+        return $this->phon;
91
+    }
92
+
93
+    /**
94
+     * @param null
95
+     * @return Repo
96
+     */
97
+    public function addEmail($email = null) {
98
+        $this->email[] = $email;
99
+        return $this;
100
+    }
101
+
102
+    /**
103
+     * @return array
104
+     */
105
+    public function getEmail() {
106
+        return $this->email;
107
+    }
108
+
109
+    /**
110
+     * @param null
111
+     * @return Repo
112
+     */
113
+    public function addFax($fax = null) {
114
+        $this->fax[] = $fax;
115
+        return $this;
116
+    }
117
+
118
+    /**
119
+     * @return array
120
+     */
121
+    public function getFax() {
122
+        return $this->fax;
123
+    }
124
+    /**
125
+     * @param null
126
+     * @return Repo
127
+     */
128
+    public function addWww($www = null) {
129
+        $this->www[] = $www;
130
+        return $this;
131
+    }
132
+
133
+    /**
134
+     * @return array
135
+     */
136
+    public function getWww() {
137
+        return $this->www;
138
+    }
139
+
140
+    /**
141
+     * @param null|\PhpGedcom\Record\Refn $refn
142
+     * @return Repo
143
+     */
144
+    public function addRefn($refn = null) {
145
+        if (empty($refn)) {
146
+            $refn = new \PhpGedcom\Record\Refn();
147
+        }
148
+        $this->refn[] = $refn;
149
+        return $this;
150
+    }
151
+
152
+    /**
153
+     * @return array
154
+     */
155
+    public function getRefn() {
156
+        return $this->refn;
157
+    }
158
+
159
+    /**
160
+     * @param null|\PhpGedcom\Record\NoteRef $note
161
+     * @return Repo
162
+     */
163
+    public function addNote($note = null) {
164
+        if (empty($node)) {
165
+            $note = new \PhpGedcom\Record\NoteRef();
166
+        }
167
+        $this->note[] = $note;
168
+        return $this;
169
+    }
170
+
171
+    /**
172
+     * @return array
173
+     */
174
+    public function getNote() {
175
+        return $this->note;
176
+    }
177
+
178
+    /**
179
+     * @param string $repo
180
+     * @return Repo
181
+     */
182
+    public function setRepo($repo = '') {
183
+        $this->repo = $repo;
184
+        return $this;
185
+    }
186
+
187
+    /**
188
+     * @return string
189
+     */
190
+    public function getRepo() {
191
+        return $this->repo;
192
+    }
193
+
194
+    /**
195
+     * @param string $name
196
+     * @return Repo
197
+     */
198
+    public function setName($name = '') {
199
+        $this->name = $name;
200
+        return $this;
201
+    }
202
+
203
+    /**
204
+     * @return string
205
+     */
206
+    public function getName() {
207
+        return $this->name;
208
+    }
209
+
210
+    /**
211
+     * @param null|\PhpGedcom\Record\Addr $addr
212
+     * @return Repo
213
+     */
214
+    public function setAddr($addr = null) {
215
+        if (empty($addr)) {
216
+            $addr = new \PhpGedcom\Record\Addr();
217
+        }
218
+        $this->addr = $addr;
219
+        return $this;
220
+    }
221
+
222
+    /**
223
+     * @return \PhpGedcom\Record\Addr
224
+     */
225
+    public function getAddr() {
226
+        return $this->addr;
227
+    }
228
+
229
+    /**
230
+     * @param string $rin
231
+     * @return Repo
232
+     */
233
+    public function setRin($rin = '') {
234
+        $this->rin = $rin;
235
+        return $this;
236
+    }
237
+
238
+    /**
239
+     * @return string
240
+     */
241
+    public function getRin() {
242
+        return $this->rin;
243
+    }
244
+
245
+    /**
246
+     * @param \PhpGedcom\Record\Chan $chan
247
+     * @return Repo
248
+     */
249
+    public function setChan($chan = []) {
250
+        $this->chan = $chan;
251
+        return $this;
252
+    }
253
+
254
+    /**
255
+     * @return \PhpGedcom\Record\Chan
256
+     */
257
+    public function getChan() {
258
+        return $this->chan;
259
+    }
260 260
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Subm.php 1 patch
Indentation   +285 added lines, -285 removed lines patch added patch discarded remove patch
@@ -21,289 +21,289 @@
 block discarded – undo
21 21
  * @package PhpGedcom\Record
22 22
  */
23 23
 class Subm extends Record implements Objectable {
24
-	/**
25
-	 * @var string
26
-	 */
27
-	protected $subm;
28
-
29
-	/**
30
-	 * @var Record\Chan
31
-	 */
32
-	protected $chan;
33
-
34
-	/**
35
-	 * @var string
36
-	 */
37
-	protected $name;
38
-
39
-	/**
40
-	 * @var Record\Addr
41
-	 */
42
-	protected $addr;
43
-
44
-	/**
45
-	 * @var string
46
-	 */
47
-	protected $rin;
48
-
49
-	/**
50
-	 * @var string
51
-	 */
52
-	protected $rfn;
53
-
54
-	/**
55
-	 * @var array
56
-	 */
57
-	protected $lang = array();
58
-
59
-	/**
60
-	 * @var array
61
-	 */
62
-	protected $phon = array();
63
-
64
-	/**
65
-	 * @var array
66
-	 */
67
-	protected $email = array();
68
-
69
-	/**
70
-	 * @var array
71
-	 */
72
-	protected $fax = array();
73
-
74
-	/**
75
-	 * @var array
76
-	 */
77
-	protected $www = array();
78
-
79
-	/**
80
-	 * @var array
81
-	 */
82
-	protected $obje = array();
83
-
84
-	/**
85
-	 * @var array
86
-	 */
87
-	protected $note = array();
88
-
89
-	/**
90
-	 * @param string $subm
91
-	 * @return Subm
92
-	 */
93
-	public function setSubm($subm = '') {
94
-		$this->subm = $subm;
95
-		return $this;
96
-	}
97
-
98
-	/**
99
-	 * @return string
100
-	 */
101
-	public function getSubm() {
102
-		return $this->subm;
103
-	}
104
-
105
-	/**
106
-	 * @param string $name
107
-	 * @return Subm
108
-	 */
109
-	public function setName($name = '') {
110
-		$this->name = $name;
111
-		return $this;
112
-	}
113
-
114
-	/**
115
-	 * @return string
116
-	 */
117
-	public function getName() {
118
-		return $this->name;
119
-	}
120
-
121
-	/**
122
-	 * @param array $phon
123
-	 * @return Subm
124
-	 */
125
-	public function setPhon($phon = []) {
126
-		$this->phon = $phon;
127
-		return $this;
128
-	}
129
-
130
-	/**
131
-	 * @return array
132
-	 */
133
-	public function getPhon() {
134
-		return $this->phon;
135
-	}
136
-
137
-
138
-	/**
139
-	 * @param Record\Phon $phon
140
-	 * @return Subm
141
-	 */
142
-	public function addPhon($phon = []) {
143
-		$this->phon[] = $phon;
144
-		return $this;
145
-	}
146
-
147
-	/**
148
-	 * @return array
149
-	 */
150
-	public function getEmail() {
151
-		return $this->email;
152
-	}
153
-
154
-
155
-	/**
156
-	 * @param Record\Phon $phon
157
-	 * @return Subm
158
-	 */
159
-	public function addEmail($email) {
160
-		$this->email[] = $email;
161
-		return $this;
162
-	}
163
-
164
-	/**
165
-	 * @return array
166
-	 */
167
-	public function getFax() {
168
-		return $this->fax;
169
-	}
170
-
171
-
172
-	/**
173
-	 * @param Record\Phon $phon
174
-	 * @return Subm
175
-	 */
176
-	public function addFax($fax) {
177
-		$this->fax[] = $fax;
178
-		return $this;
179
-	}
180
-
181
-	/**
182
-	 * @return array
183
-	 */
184
-	public function getWww() {
185
-		return $this->www;
186
-	}
187
-
188
-
189
-	/**
190
-	 * @param Record\Phon $phon
191
-	 * @return Subm
192
-	 */
193
-	public function addWww($www) {
194
-		$this->www[] = $www;
195
-		return $this;
196
-	}
197
-
198
-	/**
199
-	 * @param string $rfn
200
-	 * @return Subm
201
-	 */
202
-	public function setRfn($rfn = '') {
203
-		$this->rfn = $rfn;
204
-		return $this;
205
-	}
206
-
207
-	/**
208
-	 * @return string
209
-	 */
210
-	public function getRfn() {
211
-		return $this->rfn;
212
-	}
213
-
214
-	/**
215
-	 * @param string $rin
216
-	 * @return Subm
217
-	 */
218
-	public function setRin($rin = '') {
219
-		$this->rin = $rin;
220
-		return $this;
221
-	}
222
-
223
-	/**
224
-	 * @return string
225
-	 */
226
-	public function getRin() {
227
-		return $this->rin;
228
-	}
229
-
230
-	/**
231
-	 * @param \PhpGedcom\Record\Chan $chan
232
-	 * @return Subm
233
-	 */
234
-	public function setChan($chan = []) {
235
-		$this->chan = $chan;
236
-		return $this;
237
-	}
238
-
239
-	/**
240
-	 * @return \PhpGedcom\Record\Chan
241
-	 */
242
-	public function getChan() {
243
-		return $this->chan;
244
-	}
245
-
246
-	/**
247
-	 * @return array
248
-	 */
249
-	public function getLang() {
250
-		return $this->lang;
251
-	}
252
-
253
-	/**
254
-	 * @param string $lang
255
-	 * @return Subm
256
-	 */
257
-	public function addLang($lang = '') {
258
-		$this->lang[] = $lang;
259
-		return $this;
260
-	}
261
-
262
-	/**
263
-	 * @return Addr
264
-	 */
265
-	public function getAddr() {
266
-		return $this->addr;
267
-	}
268
-
269
-	/**
270
-	 * @param Addr $addr
271
-	 * @return Subm
272
-	 */
273
-	public function setAddr($addr = []) {
274
-		$this->addr = $addr;
275
-		return $this;
276
-	}
277
-
278
-	/**
279
-	 * @return array
280
-	 */
281
-	public function getObje() {
282
-		return $this->obje;
283
-	}
284
-
285
-	/**
286
-	 * @param Record\ObjeRef $obje
287
-	 * @return Subm
288
-	 */
289
-	public function addObje($obje = []) {
290
-		$this->obje[] = $obje;
291
-		return $this;
292
-	}
293
-
294
-	/**
295
-	 * @return array
296
-	 */
297
-	public function getNote() {
298
-		return $this->note;
299
-	}
300
-
301
-	/**
302
-	 * @param Record\Note $note
303
-	 * @return Subm
304
-	 */
305
-	public function addNote($note = []) {
306
-		$this->note[] = $note;
307
-		return $this;
308
-	}
24
+    /**
25
+     * @var string
26
+     */
27
+    protected $subm;
28
+
29
+    /**
30
+     * @var Record\Chan
31
+     */
32
+    protected $chan;
33
+
34
+    /**
35
+     * @var string
36
+     */
37
+    protected $name;
38
+
39
+    /**
40
+     * @var Record\Addr
41
+     */
42
+    protected $addr;
43
+
44
+    /**
45
+     * @var string
46
+     */
47
+    protected $rin;
48
+
49
+    /**
50
+     * @var string
51
+     */
52
+    protected $rfn;
53
+
54
+    /**
55
+     * @var array
56
+     */
57
+    protected $lang = array();
58
+
59
+    /**
60
+     * @var array
61
+     */
62
+    protected $phon = array();
63
+
64
+    /**
65
+     * @var array
66
+     */
67
+    protected $email = array();
68
+
69
+    /**
70
+     * @var array
71
+     */
72
+    protected $fax = array();
73
+
74
+    /**
75
+     * @var array
76
+     */
77
+    protected $www = array();
78
+
79
+    /**
80
+     * @var array
81
+     */
82
+    protected $obje = array();
83
+
84
+    /**
85
+     * @var array
86
+     */
87
+    protected $note = array();
88
+
89
+    /**
90
+     * @param string $subm
91
+     * @return Subm
92
+     */
93
+    public function setSubm($subm = '') {
94
+        $this->subm = $subm;
95
+        return $this;
96
+    }
97
+
98
+    /**
99
+     * @return string
100
+     */
101
+    public function getSubm() {
102
+        return $this->subm;
103
+    }
104
+
105
+    /**
106
+     * @param string $name
107
+     * @return Subm
108
+     */
109
+    public function setName($name = '') {
110
+        $this->name = $name;
111
+        return $this;
112
+    }
113
+
114
+    /**
115
+     * @return string
116
+     */
117
+    public function getName() {
118
+        return $this->name;
119
+    }
120
+
121
+    /**
122
+     * @param array $phon
123
+     * @return Subm
124
+     */
125
+    public function setPhon($phon = []) {
126
+        $this->phon = $phon;
127
+        return $this;
128
+    }
129
+
130
+    /**
131
+     * @return array
132
+     */
133
+    public function getPhon() {
134
+        return $this->phon;
135
+    }
136
+
137
+
138
+    /**
139
+     * @param Record\Phon $phon
140
+     * @return Subm
141
+     */
142
+    public function addPhon($phon = []) {
143
+        $this->phon[] = $phon;
144
+        return $this;
145
+    }
146
+
147
+    /**
148
+     * @return array
149
+     */
150
+    public function getEmail() {
151
+        return $this->email;
152
+    }
153
+
154
+
155
+    /**
156
+     * @param Record\Phon $phon
157
+     * @return Subm
158
+     */
159
+    public function addEmail($email) {
160
+        $this->email[] = $email;
161
+        return $this;
162
+    }
163
+
164
+    /**
165
+     * @return array
166
+     */
167
+    public function getFax() {
168
+        return $this->fax;
169
+    }
170
+
171
+
172
+    /**
173
+     * @param Record\Phon $phon
174
+     * @return Subm
175
+     */
176
+    public function addFax($fax) {
177
+        $this->fax[] = $fax;
178
+        return $this;
179
+    }
180
+
181
+    /**
182
+     * @return array
183
+     */
184
+    public function getWww() {
185
+        return $this->www;
186
+    }
187
+
188
+
189
+    /**
190
+     * @param Record\Phon $phon
191
+     * @return Subm
192
+     */
193
+    public function addWww($www) {
194
+        $this->www[] = $www;
195
+        return $this;
196
+    }
197
+
198
+    /**
199
+     * @param string $rfn
200
+     * @return Subm
201
+     */
202
+    public function setRfn($rfn = '') {
203
+        $this->rfn = $rfn;
204
+        return $this;
205
+    }
206
+
207
+    /**
208
+     * @return string
209
+     */
210
+    public function getRfn() {
211
+        return $this->rfn;
212
+    }
213
+
214
+    /**
215
+     * @param string $rin
216
+     * @return Subm
217
+     */
218
+    public function setRin($rin = '') {
219
+        $this->rin = $rin;
220
+        return $this;
221
+    }
222
+
223
+    /**
224
+     * @return string
225
+     */
226
+    public function getRin() {
227
+        return $this->rin;
228
+    }
229
+
230
+    /**
231
+     * @param \PhpGedcom\Record\Chan $chan
232
+     * @return Subm
233
+     */
234
+    public function setChan($chan = []) {
235
+        $this->chan = $chan;
236
+        return $this;
237
+    }
238
+
239
+    /**
240
+     * @return \PhpGedcom\Record\Chan
241
+     */
242
+    public function getChan() {
243
+        return $this->chan;
244
+    }
245
+
246
+    /**
247
+     * @return array
248
+     */
249
+    public function getLang() {
250
+        return $this->lang;
251
+    }
252
+
253
+    /**
254
+     * @param string $lang
255
+     * @return Subm
256
+     */
257
+    public function addLang($lang = '') {
258
+        $this->lang[] = $lang;
259
+        return $this;
260
+    }
261
+
262
+    /**
263
+     * @return Addr
264
+     */
265
+    public function getAddr() {
266
+        return $this->addr;
267
+    }
268
+
269
+    /**
270
+     * @param Addr $addr
271
+     * @return Subm
272
+     */
273
+    public function setAddr($addr = []) {
274
+        $this->addr = $addr;
275
+        return $this;
276
+    }
277
+
278
+    /**
279
+     * @return array
280
+     */
281
+    public function getObje() {
282
+        return $this->obje;
283
+    }
284
+
285
+    /**
286
+     * @param Record\ObjeRef $obje
287
+     * @return Subm
288
+     */
289
+    public function addObje($obje = []) {
290
+        $this->obje[] = $obje;
291
+        return $this;
292
+    }
293
+
294
+    /**
295
+     * @return array
296
+     */
297
+    public function getNote() {
298
+        return $this->note;
299
+    }
300
+
301
+    /**
302
+     * @param Record\Note $note
303
+     * @return Subm
304
+     */
305
+    public function addNote($note = []) {
306
+        $this->note[] = $note;
307
+        return $this;
308
+    }
309 309
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Indi/Name/Romn.php 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -31,52 +31,52 @@
 block discarded – undo
31 31
      * @var string romanized_type
32 32
      */
33 33
     protected $type;
34
-	/**
35
-	 * string name_piece_prefix
36
-	 */
37
-	protected $_npfx = null;
38
-	/**
39
-	 * string name_piece_given
40
-	 */
41
-	protected $_givn = null;
42
-	/**
43
-	 * string name_piece_nickname
44
-	 */
45
-	protected $_nick = null;
46
-	/**
47
-	 * strign name_piece_surname_prefix
48
-	 */
49
-	protected $_spfx = null;
50
-	/**
51
-	 * string name_piece_surname
52
-	 */
53
-	protected $_surn = null;
54
-	/**
55
-	 * string name_piece_suffix
56
-	 */
57
-	protected $_nsfx = null;
34
+    /**
35
+     * string name_piece_prefix
36
+     */
37
+    protected $_npfx = null;
38
+    /**
39
+     * string name_piece_given
40
+     */
41
+    protected $_givn = null;
42
+    /**
43
+     * string name_piece_nickname
44
+     */
45
+    protected $_nick = null;
46
+    /**
47
+     * strign name_piece_surname_prefix
48
+     */
49
+    protected $_spfx = null;
50
+    /**
51
+     * string name_piece_surname
52
+     */
53
+    protected $_surn = null;
54
+    /**
55
+     * string name_piece_suffix
56
+     */
57
+    protected $_nsfx = null;
58 58
 
59
-	/**
60
-	 * PhpGedcom\Record\NoteRef
61
-	 */
62
-	protected $_note = array();
59
+    /**
60
+     * PhpGedcom\Record\NoteRef
61
+     */
62
+    protected $_note = array();
63 63
 
64
-	/**
65
-	 * PhpGedcom\Record\SourRef
66
-	 */
67
-	protected $_sour = array();
64
+    /**
65
+     * PhpGedcom\Record\SourRef
66
+     */
67
+    protected $_sour = array();
68 68
 
69
-	/**
70
-	 *
71
-	 */
72
-	public function addSour($sour = []) {
73
-		$this->_sour[] = $sour;
74
-	}
69
+    /**
70
+     *
71
+     */
72
+    public function addSour($sour = []) {
73
+        $this->_sour[] = $sour;
74
+    }
75 75
 
76
-	/**
77
-	 *
78
-	 */
79
-	public function addNote($note = []) {
80
-		$this->_note[] = $note;
81
-	}    
76
+    /**
77
+     *
78
+     */
79
+    public function addNote($note = []) {
80
+        $this->_note[] = $note;
81
+    }    
82 82
 }
Please login to merge, or discard this patch.
library/PhpGedcom/Record/Indi/Name/Fone.php 1 patch
Indentation   +43 added lines, -43 removed lines patch added patch discarded remove patch
@@ -32,51 +32,51 @@
 block discarded – undo
32 32
      */
33 33
     protected $type;
34 34
     /**
35
-	 * string name_piece_prefix
36
-	 */
37
-	protected $_npfx = null;
38
-	/**
39
-	 * string name_piece_given
40
-	 */
41
-	protected $_givn = null;
42
-	/**
43
-	 * string name_piece_nickname
44
-	 */
45
-	protected $_nick = null;
46
-	/**
47
-	 * strign name_piece_surname_prefix
48
-	 */
49
-	protected $_spfx = null;
50
-	/**
51
-	 * string name_piece_surname
52
-	 */
53
-	protected $_surn = null;
54
-	/**
55
-	 * string name_piece_suffix
56
-	 */
57
-	protected $_nsfx = null;
35
+     * string name_piece_prefix
36
+     */
37
+    protected $_npfx = null;
38
+    /**
39
+     * string name_piece_given
40
+     */
41
+    protected $_givn = null;
42
+    /**
43
+     * string name_piece_nickname
44
+     */
45
+    protected $_nick = null;
46
+    /**
47
+     * strign name_piece_surname_prefix
48
+     */
49
+    protected $_spfx = null;
50
+    /**
51
+     * string name_piece_surname
52
+     */
53
+    protected $_surn = null;
54
+    /**
55
+     * string name_piece_suffix
56
+     */
57
+    protected $_nsfx = null;
58 58
 
59
-	/**
60
-	 * PhpGedcom\Record\NoteRef
61
-	 */
62
-	protected $_note = array();
59
+    /**
60
+     * PhpGedcom\Record\NoteRef
61
+     */
62
+    protected $_note = array();
63 63
 
64
-	/**
65
-	 * PhpGedcom\Record\SourRef
66
-	 */
67
-	protected $_sour = array();
64
+    /**
65
+     * PhpGedcom\Record\SourRef
66
+     */
67
+    protected $_sour = array();
68 68
 
69
-	/**
70
-	 *
71
-	 */
72
-	public function addSour($sour = []) {
73
-		$this->_sour[] = $sour;
74
-	}
69
+    /**
70
+     *
71
+     */
72
+    public function addSour($sour = []) {
73
+        $this->_sour[] = $sour;
74
+    }
75 75
 
76
-	/**
77
-	 *
78
-	 */
79
-	public function addNote($note = []) {
80
-		$this->_note[] = $note;
81
-	}
76
+    /**
77
+     *
78
+     */
79
+    public function addNote($note = []) {
80
+        $this->_note[] = $note;
81
+    }
82 82
 }
Please login to merge, or discard this patch.