PHP Portal » PHP Handbuch » The MongoCode class

Werbung

The MongoCode class


Einführung

Represents JavaScript code for the database.

MongoCode objects are composed of two parts: a string of code and an optional scope. The string of code must be valid JavaScript. The scope is a associative array of variable name/value pairs.

Klassenbeschreibung

MongoCode
MongoCode {
/* Methods */
__construct ( string $code [, array $scope = array() ] )
public string __toString ( void )
}

Inhaltsverzeichnis