PHP Doku:: Checks if an array is a database reference - mongodbref.isref.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenMongoDB Native DriverTypesThe MongoDBRef classMongoDBRef::isRef

Ein Service von Reinhard Neidl - Webprogrammierung.

The MongoDBRef class

<<MongoDBRef::get

The MongoMinKey class>>

MongoDBRef::isRef

(PECL mongo >= 0.9.0)

MongoDBRef::isRefChecks if an array is a database reference

Beschreibung

public static boolean 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).

Parameter-Liste

ref

Array or object to check.

Rückgabewerte

Returns if ref is a reference.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)