class CLinkGeneratorHelper


Located at : UKNOWVA_ROOT/components/com_community/helpers/linkgenerator.php

Methods

static 
linkURL($message)

Deprecated since 1.8 Use CLinkGeneratorHelper::replaceHyperlinks instead.

static 
getURL($link)

Replaces a given link to it's html format

static 
getEmailURL($email)

Replaces a given email to a hyperlinked html format

static 
getHyperLink($url)

Replaces a given link be it email or hyperlink and return the proper counterparts.

static 
getUserURL($userId, $userName)

Automatically hyperlink a user's link

static 
replaceURL($message, $noFollow = false, $newWindow = false)

Automatically link urls in the provided message

static 
replaceAliasURL($message, $tags = null, $replace = array('@grp:', '@ugrp:', '@', '#'), $attributes = array())

No description

Details

at line 16
static linkURL($message)

Deprecated since 1.8 Use CLinkGeneratorHelper::replaceHyperlinks instead.

Parameters

$message

at line 28
static getURL($link)

Replaces a given link to it's html format

Parameters

$link A valid link

return $url HTML formatted codes that links to given link

at line 48
static getEmailURL($email)

Replaces a given email to a hyperlinked html format

Parameters

$email A valid email

return $link HTML formatted codes that links to given email

Replaces a given link be it email or hyperlink and return the proper counterparts.

Parameters

$url A valid url

return $link HTML formatted codes that links to given email

at line 101
static getUserURL($userId, $userName)

Automatically hyperlink a user's link

Parameters

$userId User's id.
$userName Username of user.

return $urlLink HTML codes that hyperlink to users profile.

at line 142
static replaceURL($message, $noFollow = false, $newWindow = false)

Automatically link urls in the provided message

Parameters

$message
$noFollow
$newWindow

at line 191
static replaceAliasURL($message, $tags = null, $replace = array('@grp:', '@ugrp:', '@', '#'), $attributes = array())

Parameters

$message
$tags
$replace
$attributes