Documentation

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

ParameterDescriptionVersion
$primaryPrimary key.
$behaviourOptional parameter. It is used to unify parameters with other methods.


© «Bitrix24», 2001-2024
Up