ZMSeoRewriter
public interface ZMSeoRewriter
| Method Summary | |
|---|---|
| boolean | Decode a given request if this rewriter can decode it. |
| string | rewrite(ZMRequest request, array args) Generate a SEO url for the given parameter. |
public boolean decode(ZMRequest request)
Decode a given request if this rewriter can decode it.
true if, and only if, the request was decoded.public string rewrite(ZMRequest request, array args)
Generate a SEO url for the given parameter.
The default implementation of ZMRequest::url() will set the following args:
null.
Interface for classes that want to rewrite urls.