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