Prado\Data\SqlMap\Statements\TSqlMapObjectCollectionTree::hasChildren PHP Метод

hasChildren() защищенный Метод

protected hasChildren ( &$nodes ) : boolean
Результат boolean true if all nodes are leaf nodes, false otherwise
    protected function hasChildren(&$nodes)
    {
        $hasChildren = false;
        foreach ($nodes as $node) {
            if (count($node) != 0) {
                return true;
            }
        }
        return $hasChildren;
    }