Head Tag Rewriter

Renders meta tags and elements that should appear in the <head> tag.
Synergy 8 may generate and render meta tags such as the description and search
keywords for a website.

Class Methods

The following methods can be invoked on instances of this class.

getPageTitle(mixed arrPage)

getPageDescription(mixed arrPage)

getPageKeywords(mixed arrPage)

rewrite(mixed strHTML)

renderTitle()

renderMetaData()

printMetaTag(mixed strAttrName, mixed strName, mixed strContent)

Prints a meta tag

register()

Internal function to register the rewriter

addText(string strHTML)

Adds HTML/text to be rendered

addCallback(mixed fnCallback)

Adds a callback which returns HTML to be injected

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class