class CUrlHelper


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

Methods

static 
userLink(id $id, route $route = true)

Create a link to a user profile

static 
groupLink(id $id, route $route = true)

Create a link to a group page

static 
eventLink(id $id, route $route = true)

Create a link to a event page

static 
avatarURI($file = '', $default = '')

Method to get avatar's uri

static 
httpsURI($uri = '')

No description

Details

Create a link to a user profile

Parameters

id $id integer ther user id
route $route bool do we want to wrap it with Jroute func ?

Create a link to a group page

Parameters

id $id integer ther user id
route $route bool do we want to wrap it with Jroute func ?

Create a link to a event page

Parameters

id $id integer ther user id
route $route bool do we want to wrap it with Jroute func ?

at line 89
static avatarURI($file = '', $default = '')

Method to get avatar's uri

Parameters

$file
$default

at line 115
static httpsURI($uri = '')

Parameters

$uri