isChildOf

Description

Determines if the specified board is a child of the specified parent board. It recurses down the tree until there are no more parent boards and returns true if the specified board is a child of the specified parent.

SMF Versions: 2.0.19 - 2.0.7, 1.1 RC1 - 1.1.15

File: Subs-Boards.php
bool isChildOf (int $child, int $parent)


(View)
Advertisement: