Support Joomla!

new:moshtml-link

Usage of moshtml::link

1. Function description

This function will write a <a></a> element. If SEF is enabled, it will create a SEF link for the url passed.

2. Function usage

2.1. Example

Example Code

$attribs = array('class' => 'mainlevel');
echo mosHTML::link('index.php', 'Back to main', $attribs);
2.2. Parameters

url : string : the url you wish to link to
text : string : the text that will be linked
attribs : array : the attributes that you wish to apply to your link
ssl : int : ssl enabled

Back to the Startpage

 
new/moshtml-link.txt (2208 views) · Last modified: 2007/07/12 10:14