hw_incollections(3) php man page | unix.com

Man Page: hw_incollections

Operating Environment: php

Section: 3

HW_INCOLLECTIONS(3)							 1						       HW_INCOLLECTIONS(3)

hw_InCollections - Check if object ids in collections

SYNOPSIS
array hw_incollections (int $connection, array $object_id_array, array $collection_id_array, int $return_collections)
DESCRIPTION
Checks whether a set of objects (documents or collections) specified by the $object_id_array is part of the collections listed in $collec- tion_id_array.
PARAMETERS
o $connection - The connection identifier. o $object_id_array - An array of object ids. o $collection_id_array - An array of collection ids. o $return_collections - When set to 0, the subset of object ids that is part of the collections (i.e., the documents or collections that are children of one or more collections of collection ids or their subcollections, recursively) is returned as an array. When set to 1, the set of collections that have one or more objects of this subset as children are returned as an array. This option allows a client to, e.g., highlight the part of the collection hierarchy that contains the matches of a previous query, in a graphical overview.
RETURN VALUES
Returns an array of object ids. PHP Documentation Group HW_INCOLLECTIONS(3)
Related Man Pages
glgenframebuffers(3g) - mojave
glgenqueries(3g) - centos
gldeletesamplers(3g) - osx
mongodbref(3) - php
mongogridfs.storebytes(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!