Method |
Description |
|
cleanObjectArray ( array $schemaObject ) : array |
Removes certain keys so they don't get parsed again. |
|
getExtendedDefaultSchemaObject ( array $objectSchema ) : array |
If we need to retrieve one of the default schemas, then it's probably the case that the schema folder path was
manually defined. So retrieve the default schema object by parsing the name from the default folder path and then
reset the schema folder back to what it originally was. |
|
getObjectFromSchema ( array $schema, string $objectType ) : array |
Check for a specific object type in the schema and validate it. |
|
getParentSchemaObject ( array $objectSchema, string $schemaName ) : array |
Determines what parent array object to get based on the directive used. |
|
getSchemaFileName ( string $folder, string $schema ) : string |
Check for a YML file of the specified schema name and return the full path. |
|
mergeAnyExtendedSchemas ( array $objectSchema, string $schemaName ) : array |
If the 'extends' option is given, then merge this schema object with the requested schema object. |
|
mergeDefaultSchemaFile ( string $schemaName ) |
If the 'extends_default' directive is used, then merge the specified default schema. |
|
mergeIncludedSchemas ( string $schemaName ) |
If the 'include' directive is used, then merge the specified schemas into the current one. |
|
mergeSchemaObjectArrays ( array $parent, array $schema ) : array |
Performs the logic for merging one schema object array with another. |
|
parseControls ( array $objectSchema ) : LdapControl[] |
|
|
parseConverterMap ( array $objectSchema ) : array |
Parse the converters section of an object schema definition to generate the attribute converter map. |
|
parseFilter ( LdapObjectSchema $objectSchema, array $objectArray ) : BaseOperator |
Get the filter for the schema object. |
|
parseSchemaNameToArray ( string $schemaName ) |
Given a schema name, parse it into the array. |
|
parseYamlForObject ( array $schema, string $schemaName, string $objectType ) : LdapObjectSchema |
Attempt to find the object type definition in the schema and create its object representation. |
|
updateObjectArray ( string $schemaName, array $schemaObject ) |
Update the object in the schema array in case it extended a different object type. |
|
validateObjectSchema ( LdapObjectSchema $schema ) |
Validate that an object schema meets the minimum requirements. |
|
validateSchemaType ( LdapObjectSchema $schema, array $schemaArray ) |
Validates some of the schema values to check that they are allowed. |
|