Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: hw_InCollections - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net

search for in the

hw_Info" width="11" height="7"/> <hw_Identify
Last updated: Tue, 31 Oct 2006
view this page in

hw_InCollections

(PHP 3 >= 3.0.3, PHP 4, PECL)

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 により定義された コレクションの一部であるかどうかを調べます。 4 番目のパラメータ return_collections が 0 である 場合、コレクションの一部(すなわち、それぞれ一つ以上のコレクション ID の コレクションまたはサブコレクションの子ドキュメントまたはコレクション) であるオブジェクト ID のサブセットが配列として返されます。 しかし、4 番目のパラメータが 1 である場合、 一つ以上のこのサブセットのオブジェクトを子として 有するコレクションの組は、配列として返されます。 このオプションにより、例えば、 前のクエリで一致したものを含むコレクション階層の一部を クライアントが、グラフィックで概要を強調表示することが可能となります。



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

hw_Info" width="11" height="7"/> <hw_Identify
Last updated: Tue, 31 Oct 2006
 
 
show source | credits | sitemap | contact | advertising | mirror sites