Documentation

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

ParameterDescriptionVersion
$primaryPrimary key.
$behaviourOptional. Unifies parameters with other methods.


© «Bitrix24», 2001-2024
Up