Neptune 1.0 Beta 3 Documentation: links()

Neptune Information

Download from RIA Forge

links()

The "links" method returns XML describing any links that are needed for this program. A link to the program will automatically be added to the site on installation, but this will provide links inside the program section to individual pages in the program.

Example:

<cffunction name="links" access="public" output="yes">
<program permissions="CMS">
	<link label="Pages" url="page-list.cfm" />
	<link label="Sections" url="section-list.cfm" />
</program>
</cffunction>

Security

If you have a security service set up and registered with Neptune, then you can also add a "permissions" attribute to any "program" or "link" element to ensure that only users with at least one of the listed permissions will be able to see those links.