| Total Complexity | 20 |
| Total Lines | 234 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class Subn extends \Gedcom\Record |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var string |
||
| 24 | */ |
||
| 25 | protected $subn; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var string |
||
| 29 | */ |
||
| 30 | protected $subm; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $famf; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | */ |
||
| 40 | protected $temp; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @var string |
||
| 44 | */ |
||
| 45 | protected $ance; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @var string |
||
| 49 | */ |
||
| 50 | protected $desc; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var string |
||
| 54 | */ |
||
| 55 | protected $ordi; |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @var string |
||
| 59 | */ |
||
| 60 | protected $rin; |
||
| 61 | |||
| 62 | /** |
||
| 63 | * @var array |
||
| 64 | */ |
||
| 65 | protected $_note = []; |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @var \Gedcom\Record\Chan |
||
| 69 | */ |
||
| 70 | protected $_chan; |
||
| 71 | |||
| 72 | public function setChan($chan) |
||
| 73 | { |
||
| 74 | $this->_chan = $chan; |
||
| 75 | |||
| 76 | return $this; |
||
| 77 | } |
||
| 78 | |||
| 79 | public function getChan() |
||
| 80 | { |
||
| 81 | return $this->_chan; |
||
| 82 | } |
||
| 83 | |||
| 84 | public function addNote($note) |
||
| 85 | { |
||
| 86 | $this->_note[] = $note; |
||
| 87 | |||
| 88 | return $this; |
||
| 89 | } |
||
| 90 | |||
| 91 | public function getNote() |
||
| 92 | { |
||
| 93 | return $this->_note; |
||
| 94 | } |
||
| 95 | |||
| 96 | /** |
||
| 97 | * @param string $subn |
||
| 98 | * |
||
| 99 | * @return Subn |
||
| 100 | */ |
||
| 101 | public function setSubn($subn = '') |
||
| 102 | { |
||
| 103 | $this->subn = $subn; |
||
| 104 | |||
| 105 | return $this; |
||
| 106 | } |
||
| 107 | |||
| 108 | /** |
||
| 109 | * @return string |
||
| 110 | */ |
||
| 111 | public function getSubn() |
||
| 112 | { |
||
| 113 | return $this->subn; |
||
| 114 | } |
||
| 115 | |||
| 116 | /** |
||
| 117 | * @param string $subm |
||
| 118 | * |
||
| 119 | * @return Subn |
||
| 120 | */ |
||
| 121 | public function setSubm($subm = '') |
||
| 122 | { |
||
| 123 | $this->subm = $subm; |
||
| 124 | |||
| 125 | return $this; |
||
| 126 | } |
||
| 127 | |||
| 128 | /** |
||
| 129 | * @return string |
||
| 130 | */ |
||
| 131 | public function getSubm() |
||
| 132 | { |
||
| 133 | return $this->subm; |
||
| 134 | } |
||
| 135 | |||
| 136 | /** |
||
| 137 | * @param string $famf |
||
| 138 | * |
||
| 139 | * @return Subn |
||
| 140 | */ |
||
| 141 | public function setFamf($famf = '') |
||
| 146 | } |
||
| 147 | |||
| 148 | /** |
||
| 149 | * @return string |
||
| 150 | */ |
||
| 151 | public function getFamf() |
||
| 152 | { |
||
| 153 | return $this->famf; |
||
| 154 | } |
||
| 155 | |||
| 156 | /** |
||
| 157 | * @param string $temp |
||
| 158 | * |
||
| 159 | * @return Subn |
||
| 160 | */ |
||
| 161 | public function setTemp($temp = '') |
||
| 162 | { |
||
| 163 | $this->temp = $temp; |
||
| 164 | |||
| 165 | return $this; |
||
| 166 | } |
||
| 167 | |||
| 168 | /** |
||
| 169 | * @return string |
||
| 170 | */ |
||
| 171 | public function getTemp() |
||
| 174 | } |
||
| 175 | |||
| 176 | /** |
||
| 177 | * @param string $ance |
||
| 178 | * |
||
| 179 | * @return Subn |
||
| 180 | */ |
||
| 181 | public function setAnce($ance = '') |
||
| 186 | } |
||
| 187 | |||
| 188 | /** |
||
| 189 | * @return string |
||
| 190 | */ |
||
| 191 | public function getAnce() |
||
| 192 | { |
||
| 193 | return $this->ance; |
||
| 194 | } |
||
| 195 | |||
| 196 | /** |
||
| 197 | * @param string $desc |
||
| 198 | * |
||
| 199 | * @return Subn |
||
| 200 | */ |
||
| 201 | public function setDesc($desc = '') |
||
| 202 | { |
||
| 203 | $this->desc = $desc; |
||
| 204 | |||
| 205 | return $this; |
||
| 206 | } |
||
| 207 | |||
| 208 | /** |
||
| 209 | * @return string |
||
| 210 | */ |
||
| 211 | public function getDesc() |
||
| 212 | { |
||
| 213 | return $this->desc; |
||
| 214 | } |
||
| 215 | |||
| 216 | /** |
||
| 217 | * @param string $ordi |
||
| 218 | * |
||
| 219 | * @return Subn |
||
| 220 | */ |
||
| 221 | public function setOrdi($ordi = '') |
||
| 222 | { |
||
| 223 | $this->ordi = $ordi; |
||
| 224 | |||
| 225 | return $this; |
||
| 226 | } |
||
| 227 | |||
| 228 | /** |
||
| 229 | * @return string |
||
| 230 | */ |
||
| 231 | public function getOrdi() |
||
| 234 | } |
||
| 235 | |||
| 236 | /** |
||
| 237 | * @param string $rin |
||
| 238 | * |
||
| 239 | * @return Subn |
||
| 240 | */ |
||
| 241 | public function setRin($rin = '') |
||
| 242 | { |
||
| 243 | $this->rin = $rin; |
||
| 244 | |||
| 246 | } |
||
| 247 | |||
| 248 | /** |
||
| 249 | * @return string |
||
| 250 | */ |
||
| 251 | public function getRin() |
||
| 254 | } |
||
| 255 | } |
||
| 256 |