Sets filter options
Parameters: | string|array|ZendConfigConfig – |
---|---|
Return type: | void |
Set the default scheme to use when parsing scheme-less URIs
The scheme used when parsing URIs may affect the specific object used to normalize the URI and thus may affect the resulting normalize URI.
Parameters: | string – |
---|---|
Return type: | ZendFilterUriNormalize |
Set a URI scheme to enforce on schemeless URIs
This allows forcing input values such as ‘www.example.com/foo’ into ‘http://www.example.com/foo‘.
This should be used with caution, as a standard-compliant URI parser would regard ‘www.example.com’ in the above input URI to be the path and not host part of the URI. While this option can assist in solving real-world user mishaps, it may yield unexpected results at times.
Parameters: | string – |
---|---|
Return type: | ZendFilterUriNormalize |
Filter the URL by normalizing it and applying a default scheme if set
Parameters: | string – |
---|---|
Return type: | string |