Enhancement #957
Savable custom user and/or contexts fields
Start date:
15 Oct 2010
Due date:
15 Oct 2010
% Done:
100%
Description
Right now it is impossible to save custom fields...
Functionality of some contexts depend on custom fields. And it would be great if these custom fields could be saved to users’ xml files.
Perhaps for this we need to add another API function (in addition to SetField), e.g.: $user->SaveField
and $context->SaveField
...
The fields can be saved in this way:
<fields>
<user_field>value</user_field>
<context_field context="ContextName">value</context_field>
</fields>
Related issues
History
#1 Updated by Andriy Lesyuk about 14 years ago
- Start date deleted (
07 Oct 2010)
#2 Updated by Andriy Lesyuk about 14 years ago
- Target version set to 1.04
#3 Updated by Andriy Lesyuk about 14 years ago
- Status changed from Open to Closed
- Due date set to 15 Oct 2010
- % Done changed from 0 to 100
- Start date set to 15 Oct 2010
API is:
$user->SetOption($name, $value);
$user->GetOption($name);
$user->ClearOption($name);