Navigation

Search

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.

Syntax

bool isChildOf (int $child, int $parent)



Parameter $child

Expected type: Integer
Description: The ID of the child board



Parameter $parent

Expected type: Integer
Description: The ID of the parent board



Return value

Expected type: Boolean
Description:


View all versions of this function