Source Location: Program_Root/linkManager.php
eDreamers Component - Link Builder
This component provides utility functions to build A href links from an array of references formatted as follows:
$LINKS = array(); $LINKS['referenceName']['label'] = 'The Webmaster'; $LINKS['referenceName']['address'] = 'mailto:webmaster@example.com';
The reference name can be whatever is giving a good representation of the link meaning/target. To insert the related link in a content page, the following code is used:
echo getLink( $LINKS, 'referenceName' );
void checkLinks(
mixed $arr_, [mixed $template = 'linkManager.tpl'])
[line 56]
Function - checkLinks
[ Top ]
void generateLinksFile(
mixed $arr_)
[line 96]
[ Top ]
string getLink(
array $arr_, string $str_name, [string $str_obj_ = null], [mixed $boo_newWindow = true])
[line 34]
Function - getLink
Generates a HTML A HREF link based on the information found in the references array and passed to the function
[ Top ]