|
@@ 325-332 (lines=8) @@
|
| 322 |
|
} |
| 323 |
|
} |
| 324 |
|
|
| 325 |
|
private function getSectionTableForType($type) { |
| 326 |
|
if($type === 'admin') { |
| 327 |
|
return Mapper::TABLE_ADMIN_SECTIONS; |
| 328 |
|
} else if($type === 'personal') { |
| 329 |
|
return Mapper::TABLE_PERSONAL_SECTIONS; |
| 330 |
|
} |
| 331 |
|
throw new \InvalidArgumentException('"admin" or "personal" expected'); |
| 332 |
|
} |
| 333 |
|
|
| 334 |
|
private function getSettingsTableForType($type) { |
| 335 |
|
if($type === 'admin') { |
|
@@ 334-341 (lines=8) @@
|
| 331 |
|
throw new \InvalidArgumentException('"admin" or "personal" expected'); |
| 332 |
|
} |
| 333 |
|
|
| 334 |
|
private function getSettingsTableForType($type) { |
| 335 |
|
if($type === 'admin') { |
| 336 |
|
return Mapper::TABLE_ADMIN_SETTINGS; |
| 337 |
|
} else if($type === 'personal') { |
| 338 |
|
return Mapper::TABLE_PERSONAL_SETTINGS; |
| 339 |
|
} |
| 340 |
|
throw new \InvalidArgumentException('"admin" or "personal" expected'); |
| 341 |
|
} |
| 342 |
|
|
| 343 |
|
private function query($className) { |
| 344 |
|
try { |