Link, Path and URL Functions

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.

AJAXLink()

This generates a link to your handleAJAX() method.

linkToItemAnchor()

Generates attributes for a hyperlink to a Content Item.

linkToItemAnchorAndJS()

A shortcut function for calling linkToItemAnchor() and linkToItemJS().

linkToItemJS()

Generates JavaScript code that will redirect the viewer to a different Content Item.

moduleDir()

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/)

pluginAJAXLink()

This generates a link to your pluginAJAXLink() method.

showFileLink()

This generates a link to your showFile() method.

showFloatingBoxLink()

This generates a link to your showFloatingBox() method.

showImageLink()

This generates a link to your showImage() method.

showRSSLink()

Generate a URL link to the RSS feed for your Plugin Instance in this particular Slot, generated by your showRSS() method.

showSingleSlotLink()

This generates a link to show your plugin alone on the current page.

showStandalonePageLink()

This generates a link to your showStandalonePage() method.