add
\Bitrix\Main\Entity\AddResult public static \Bitrix\Tasks\Internals\Task\FavoriteTable::add( array, array );
Static method adds a task into Favorites for a specific (or current) user. This function does not check access permissions.
Parameters
Parameter | Description | Version |
---|---|---|
$data | Primary key. | |
$behaviour | Behaviour flags:
|
© «Bitrix24», 2001-2024