@@ 272-274 (lines=3) @@ | ||
269 | continue; |
|
270 | } |
|
271 | ||
272 | foreach ($schema['required'] as $field) { |
|
273 | $classMap[$schema['x-documentClass']][$field]['required'] = true; |
|
274 | } |
|
275 | foreach ($schema['searchable'] as $field) { |
|
276 | $classMap[$schema['x-documentClass']][$field]['searchable'] = 1; |
|
277 | } |
|
@@ 275-277 (lines=3) @@ | ||
272 | foreach ($schema['required'] as $field) { |
|
273 | $classMap[$schema['x-documentClass']][$field]['required'] = true; |
|
274 | } |
|
275 | foreach ($schema['searchable'] as $field) { |
|
276 | $classMap[$schema['x-documentClass']][$field]['searchable'] = 1; |
|
277 | } |
|
278 | foreach ($schema['readOnlyFields'] as $field) { |
|
279 | $classMap[$schema['x-documentClass']][$field]['readOnly'] = true; |
|
280 | } |
|
@@ 278-280 (lines=3) @@ | ||
275 | foreach ($schema['searchable'] as $field) { |
|
276 | $classMap[$schema['x-documentClass']][$field]['searchable'] = 1; |
|
277 | } |
|
278 | foreach ($schema['readOnlyFields'] as $field) { |
|
279 | $classMap[$schema['x-documentClass']][$field]['readOnly'] = true; |
|
280 | } |
|
281 | ||
282 | // flags from fields |
|
283 | if (is_array($schema['properties'])) { |