AddDocumentToHistory
integer
public static function CBPDocument::AddDocumentToHistory(
array documentId,
string name,
integer userId
);
This method adds current version of document into history.
Note: This method receives an array of configuration parameters and generates scripts, required to show file dialog. Static method.
Method parameters
Parameter | Description |
---|---|
documentId | Document ID, specified as an array(module_code, document_class, document_identifier_in_module) |
name | Name of record in history |
userId | User ID, on behalf of which the record is made |
Returned value
Returns a record ID in history or returns "false" in case of an error.
© «Bitrix24», 2001-2024