class CProfile implements CCommentInterface


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

Methods

static 
sendCommentNotification(CTableWall $wall, $message)

No description

getFieldData($field)

No description

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

Method to get the HTML output for specific fields

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

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

formatData($fieldType, $value)

No description

getCountryList()

No description

Details

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

Parameters

CTableWall $wall
$message

at line 36
getFieldData($field)

Parameters

$field

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

Method to get the HTML output for specific fields

Parameters

$field
$showRequired

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

at line 174
formatData($fieldType, $value)

Parameters

$fieldType
$value

at line 195
getCountryList()