PHP Interface LdapTools\Schema\Parser\SchemaParserInterface

Author: Chad Sikorra ([email protected])
Show file Open project: ldaptools/ldaptools Interface Usage Examples

Public Methods

Method Description
getSchemaModificationTime ( string $schemaName ) : DateTime Given the schema name, return the last time the schema was modified in DateTime format.
parse ( string $schemaName, string $objectType ) : LdapObjectSchema Given the schema name and object type, parse through the schema and return the LdapObjectSchema.
parseAll ( string $schemaName ) : LdapObjectSchema[] Given the schema name, parse through and return every LdapObjectSchema.

Method Details

getSchemaModificationTime() public method

Given the schema name, return the last time the schema was modified in DateTime format.
public getSchemaModificationTime ( string $schemaName ) : DateTime
$schemaName string
return DateTime

parse() public method

Given the schema name and object type, parse through the schema and return the LdapObjectSchema.
public parse ( string $schemaName, string $objectType ) : LdapObjectSchema
$schemaName string
$objectType string
return LdapTools\Schema\LdapObjectSchema

parseAll() public method

Given the schema name, parse through and return every LdapObjectSchema.
public parseAll ( string $schemaName ) : LdapObjectSchema[]
$schemaName string
return LdapTools\Schema\LdapObjectSchema[]