These functions generate links to content items, and links to your plugin in other modes.
You can use syntax of the form:
$this->functionName()
to call a link, path or URL function from anywhere within your Plugin's methods.
This generates a link to your handleAJAX() method.
Generates attributes for a hyperlink to a Content Item.
A shortcut function for calling linkToItemAnchor()
and linkToItemJS()
.
Generates JavaScript code that will redirect the viewer to a different Content Item.
A shortcut to the core function with the same name, this teturns the relative path to your Module's directory. (I.e. modules/your_module_name/
)