downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

hw_Info> <hw_Identify
[edit] Last updated: Fri, 07 Jun 2013

view this page in

hw_InCollections

(PHP 4)

hw_InCollectionsコレクションにオブジェクト ID があるかどうかを確認する

説明

array hw_incollections ( int $connection , array $object_id_array , array $collection_id_array , int $return_collections )

object_id_array により指定された オブジェクトの組 (ドキュメントまたはコレクション)が、 コレクション collection_id_array により定義された コレクションの一部であるかどうかを調べます。

パラメータ

connection

接続 ID。

object_id_array

オブジェクト ID の配列。

collection_id_array

コレクション ID の配列。

return_collections

0 である場合、コレクションの一部(すなわち、それぞれ一つ以上のコレクション ID の コレクションまたはサブコレクションの子ドキュメントまたはコレクション) であるオブジェクト ID のサブセットが配列として返されます。

1 である場合、 一つ以上のこのサブセットのオブジェクトを子として 有するコレクションの組は、配列として返されます。 このオプションにより、例えば、 前のクエリで一致したものを含むコレクション階層の一部を クライアントが、グラフィックで概要を強調表示することが可能となります。

返り値

オブジェクト ID の配列を返します。



add a note add a note User Contributed Notes hw_InCollections - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites