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

search for in the

MongoMinKey> <MongoDBRef::get
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoDBRef::isRef

(PECL mongo >= 0.9.0)

MongoDBRef::isRefChecks if an array is a database reference

Description

public static bool MongoDBRef::isRef ( mixed $ref )

This not actually follow the reference, so it does not determine if it is broken or not. It merely checks that ref is in valid database reference format (in that it is an object or array with $ref and $id fields).

Parameters

ref

Array or object to check.

Return Values

Returns if ref is a reference.



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

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