BSON\Javascript
PHP Manual

BSON\Javascript::__construct

(mongodb >=0.2.0)

BSON\Javascript::__constructDescription

Beschreibung

final public BSON\Javascript::__construct ( string $javascript [, string $scope ] )

Parameter-Liste

javascript

scope

Rückgabewerte

Fehler/Exceptions

Beispiele

Beispiel #1 BSON\Javascript::__construct() example

<?php

/* ... */

?>

Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:

...

Siehe auch


BSON\Javascript
PHP Manual