class CProfileLibrary extends CProfile


Located at : UKNOWVA_ROOT/components/com_community/libraries/profile.php

Maintain classname compatibility with JomSocial 1.6 below

Methods

static 
sendCommentNotification(CTableWall $wall, $message)

No description

from CProfile
getFieldData($field)

No description

from CProfile
getFieldHTML($field, $showRequired = '  *')

Method to get the HTML output for specific fields

from CProfile
validateField($fieldId, $fieldType, $value, $required, $userAccess)

Method to validate any custom field in PHP. Javascript validation is not sufficient enough.

from CProfile
formatData($fieldType, $value)

No description

from CProfile
getCountryList()

No description

from CProfile

Details

in CProfile at line 15
static sendCommentNotification(CTableWall $wall, $message)

Parameters

CTableWall $wall
$message

in CProfile at line 36
getFieldData($field)

Parameters

$field

in CProfile at line 71
getFieldHTML($field, $showRequired = '  *')

Method to get the HTML output for specific fields

Parameters

$field
$showRequired

in CProfile at line 124
validateField($fieldId, $fieldType, $value, $required, $userAccess)

Method to validate any custom field in PHP. Javascript validation is not sufficient enough.

We also need to validate fields in PHP since if the user knows how to send POST data, then they will bypass javascript validations.

Parameters

$fieldId
$fieldType
$value
$required
$userAccess

in CProfile at line 174
formatData($fieldType, $value)

Parameters

$fieldType
$value

in CProfile at line 195
getCountryList()