\StaticSiteLinkRewriter
Synopsis
class StaticSiteLinkRewriter
{
- // methods
- public void __construct()
- public void setTagMap()
- public array getTagMap()
- public void rewriteInPQ()
- public string rewriteInContent()
Members
protected
- $callback
—
Object
The callback function to run over each link. - $tagMap
—
array
Simple map of tags to count as "linkable"
Methods
public
- __construct()
- getTagMap() — Return the tagmap
- rewriteInContent() — Rewrite URLs in the given content snippet. Returns the updated content.
- rewriteInPQ()
- setTagMap() — Set a map of tags & attributes to search for URls.