Bug #2766 » plugin.class.patch
administrator/components/com_comprofiler/plugin.class.php | ||
---|---|---|
function prepareFieldDataNotSaved( &$field, &$user, &$postdata, $reason ) {
|
||
}
|
||
/**
|
||
* Mutator:
|
||
* Prepares field data commit
|
||
* Override
|
||
*
|
||
* @param moscomprofilerFields $field
|
||
* @param moscomprofilerUser $user RETURNED populated: touch only variables related to saving this field (also when not validating for showing re-edit)
|
||
* @param array $postdata Typically $_POST (but not necessarily), filtering required.
|
||
* @param string $reason 'edit' for save user edit, 'register' for save registration
|
||
*/
|
||
function commitFieldDataSave( &$field, &$user, &$postdata, $reason ) {
|
||
}
|
||
/**
|
||
* Mutator:
|
||
* Prepares field data rollback
|
||
* Override
|
||
*
|
||
* @param moscomprofilerFields $field
|
||
* @param moscomprofilerUser $user RETURNED populated: touch only variables related to saving this field (also when not validating for showing re-edit)
|
||
* @param array $postdata Typically $_POST (but not necessarily), filtering required.
|
||
* @param string $reason 'edit' for save user edit, 'register' for save registration
|
||
*/
|
||
function rollbackFieldDataSave( &$field, &$user, &$postdata, $reason ) {
|
||
}
|
||
/**
|
||
* Validator:
|
||
* Validates $value for $field->required and other rules
|
||
* Override
|
- « Previous
- 1
- 2
- 3
- 4
- Next »