Agreement
Agreement class handles agreements.
List of methods
Method | Description |
---|---|
getText | Returns agreement text. |
getLabelText | Returns title text. |
getFields | Returns array with agreement fields. |
getFieldValues | Returns array with agreement field values. |
getTypeNames | Returns array with type names. |
__construct | Constructor for class \Main\UserConsent\Agreement . |
load | Loads agreement by its ID. |
setReplace | Replaces data in agreement. |
getErrors | Returns array with errors. |
hasErrors | Returns true when errors occur. |
getId | Returns agreement ID. |
getData | Returns agreement text. |
setData | Sets agreement text. |
mergeData | Merges agreement data. |
save | Saves agreement data. |
isExist | Returns true when agreement exists. |
isActive | Returns true when agreement is active. |
getActiveList | Returns array with active agreements. |
© «Bitrix24», 2001-2024