From 128d47430d4aec5d5aadba4b6e8d5c66ead7be3f Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 15 Jan 2017 07:22:19 -0500 Subject: pull latest doco from dev branch --- doc/hook/stream_item.bb | 13 +++++++++++++ doc/hook/zot_best_algorithm.bb | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 doc/hook/stream_item.bb create mode 100644 doc/hook/zot_best_algorithm.bb (limited to 'doc/hook') diff --git a/doc/hook/stream_item.bb b/doc/hook/stream_item.bb new file mode 100644 index 000000000..30086961d --- /dev/null +++ b/doc/hook/stream_item.bb @@ -0,0 +1,13 @@ +[h2]stream_item[/h2] + + +Called for each item processed for viewing by conversation(); + +The hook data consists of an array + + array( + 'mode' => current mode of conversation() + 'item' => item being processed + ); + + Set item['blocked'] to block the item from viewing. This action will not affect comment or sub-thread counts, so if there are three comments in a conversation and you block one, three comments will still be reported even though only two are visible. diff --git a/doc/hook/zot_best_algorithm.bb b/doc/hook/zot_best_algorithm.bb new file mode 100644 index 000000000..ccde505cb --- /dev/null +++ b/doc/hook/zot_best_algorithm.bb @@ -0,0 +1,3 @@ +[h2]zot_best_algorithm[/h2] + + -- cgit v1.2.3