\acdhOeaw\utilUriNorm

A simply utility class standardizing the URIs

Summary

Methods
Properties
Constants
standardize()
standardizeMeta()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

standardize()

standardize(string  $uri) : string

Returns a standardized URIs.

If the passed URI doesn't match any rule it is returned without modification.

Parameters

string $uri

URI to be standardized

Returns

string

standardizeMeta()

standardizeMeta(Resource  $res) 

Performs id URI standardization on all id properties of a given metadata resource object.

Parameters

Resource $res

metadata to be processed