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