lc
Component ID
719558
Component name
lc
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
930
Component created
Component changed
Component body
This micro-module does one thing and one thing only - it provides the lc function which is a drop in replacement for the l function. The l function formats a link, the lc function does the exact same thing except that it is context aware - meaning that no link will be printed if target location does not exist or if the user does not have permission to access it. It basically makes links act like menu items. This is super-handy for creating links to admin sections of the site that automatically do not show-up for those without permission. If you're feeling particularly naughty you might even want to replace l with lc so all your links are context aware.
Usage is identical to l, so click here to see how to use it.
