The CFormResult class facilitates handling the web form
results.
Methods
Method |
Description |
GetList |
The method is used to get a list of form results with respect to the current
user permissions. |
Add |
Saves a new result in the database. |
Update |
The method updates an existing result in the database. |
GetByID |
The function returns a selection from the database containing the result
fields and some parameters of a form. |
GetDataByID |
The function returns answers to the form questions and form fields values
from the result stored in the database. |
GetDataByIDForWeb |
Returns an array of the result values in the special format used by the
template for the result editing. |
GetPermissions |
The function returns an array of permissions to the result depending on its
status. |
SetField |
The method sets a new value of the form field result. |