Clanbite Forums

list_replies_subtree_for_topic( int $topic_id, int $branch_root_id ): list<object>

Reply rows: a branch root and all descendants (BFS order), or full list when root is 0.

public static

Class: Kernowdev\ClanbiteForums\Forums\Data_Access

Parameters

$topic_id (int) Required

Topic ID.

$branch_root_id (int) Required

Reply ID to treat as subtree root (0 = entire topic).

Returns

list<object>

Defined in inc/Forums/Data_Access.php