Documentation

FavoriteTable

FavoriteTable class for handling the table b_tasks_favorite.

Class Description Available from version
getTableNameReturns database table name corresponding to an entity.
toggleChanges task's "favorite" status for specific (or current) user.
checkChecks if task is in Favorites for a specific (or current) user.
deleteDeletes task from Favorites for a specific (or current) user.
addAdds task to Favorites for a specific (or current) user.
getMapReturns list of fields with types.
deleteByTaskIdDeletes task from Favorites for all users.


© «Bitrix24», 2001-2024
Up