|
@@ 318-325 (lines=8) @@
|
| 315 |
|
} |
| 316 |
|
} |
| 317 |
|
|
| 318 |
|
private function getSectionTableForType($type) { |
| 319 |
|
if($type === 'admin') { |
| 320 |
|
return Mapper::TABLE_ADMIN_SECTIONS; |
| 321 |
|
} else if($type === 'personal') { |
| 322 |
|
return Mapper::TABLE_PERSONAL_SECTIONS; |
| 323 |
|
} |
| 324 |
|
throw new \InvalidArgumentException('"admin" or "personal" expected'); |
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
private function getSettingsTableForType($type) { |
| 328 |
|
if($type === 'admin') { |
|
@@ 327-334 (lines=8) @@
|
| 324 |
|
throw new \InvalidArgumentException('"admin" or "personal" expected'); |
| 325 |
|
} |
| 326 |
|
|
| 327 |
|
private function getSettingsTableForType($type) { |
| 328 |
|
if($type === 'admin') { |
| 329 |
|
return Mapper::TABLE_ADMIN_SETTINGS; |
| 330 |
|
} else if($type === 'personal') { |
| 331 |
|
return Mapper::TABLE_PERSONAL_SETTINGS; |
| 332 |
|
} |
| 333 |
|
throw new \InvalidArgumentException('"admin" or "personal" expected'); |
| 334 |
|
} |
| 335 |
|
|
| 336 |
|
private function query($className) { |
| 337 |
|
try { |