CFormAnswer class
The CFormAnswer class is used to handle answers.
Fields
Field | Type | Description |
---|---|---|
ID | int | The answer ID. |
FIELD_ID | int | The question ID (alias is QUESTION_ID). |
TIMESTAMP_X | datetime | The time the answer parameters were last modified. |
MESSAGE | varchar(2000) | The value of the answer parameter ANSWER_TEXT. |
VALUE | varchar(255) | The value of the answer parameter ANSWER_VALUE. |
FIELD_TYPE | varchar(255) | The answer field type. The following values are possible:
|
FIELD_WIDTH | int | answer field width. |
FIELD_HEIGHT | int | answer field height. |
FIELD_PARAM | varchar(2000) | answer field parameters. |
C_SORT | int | Sort index. |
ACTIVE | char | Active state flag (Y|N). |
Methods
Method | Description |
---|---|
Set | Adds a new answer or modifies the existing one. |
GetList | Returns a list of answers by the question ID. |
GetByID | Returns the answer parameters. |
Copy | Copies an answer. |
Delete | Deletes an answer and all result values bound to it. |
© «Bitrix24», 2001-2024