toggle
\Bitrix\Main\Entity\AddResult|\Bitrix\Main\Entity\DeleteResult public static \Bitrix\Tasks\Task\FavoriteTable::toggle( array, array );
This static method changes task's "favorite" status for the specific (or current) user. This function does not check access permission.
Parameters
Parameter | Description | Version |
---|---|---|
$primary | Primary key. | |
$behaviour | Optional. Unifies parameters with other methods. |
© «Bitrix24», 2001-2024