\acdhOeaw\fedora\dissemination\parameterUriPart

Assuming value is an URL extracts given parts of the URL.

Summary

Methods
Properties
Constants
getName()
transform()
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

getName()

getName() 

Returns transformation name

transform()

transform(string  $value, \acdhOeaw\fedora\dissemination\parameter\...  $parts) : string

Extracts given URL parts.

Parameters

string $value

URL to be transformed

\acdhOeaw\fedora\dissemination\parameter\... $parts

parts to be extracted. One of: scheme (e.g. "https", "ftp", etc.), host, port, user, pass, path, query, fragment (part of the URL following #)

Returns

string