|
@@ 290-292 (lines=3) @@
|
| 287 |
|
continue; |
| 288 |
|
} |
| 289 |
|
|
| 290 |
|
foreach ($schema['required'] as $field) { |
| 291 |
|
$classMap[$schema['x-documentClass']][$field]['required'] = true; |
| 292 |
|
} |
| 293 |
|
foreach ($schema['searchable'] as $field) { |
| 294 |
|
$classMap[$schema['x-documentClass']][$field]['searchable'] = 1; |
| 295 |
|
} |
|
@@ 293-295 (lines=3) @@
|
| 290 |
|
foreach ($schema['required'] as $field) { |
| 291 |
|
$classMap[$schema['x-documentClass']][$field]['required'] = true; |
| 292 |
|
} |
| 293 |
|
foreach ($schema['searchable'] as $field) { |
| 294 |
|
$classMap[$schema['x-documentClass']][$field]['searchable'] = 1; |
| 295 |
|
} |
| 296 |
|
foreach ($schema['readOnlyFields'] as $field) { |
| 297 |
|
$classMap[$schema['x-documentClass']][$field]['readOnly'] = true; |
| 298 |
|
} |
|
@@ 296-298 (lines=3) @@
|
| 293 |
|
foreach ($schema['searchable'] as $field) { |
| 294 |
|
$classMap[$schema['x-documentClass']][$field]['searchable'] = 1; |
| 295 |
|
} |
| 296 |
|
foreach ($schema['readOnlyFields'] as $field) { |
| 297 |
|
$classMap[$schema['x-documentClass']][$field]['readOnly'] = true; |
| 298 |
|
} |
| 299 |
|
|
| 300 |
|
// flags from fields |
| 301 |
|
if (is_array($schema['properties'])) { |