v8js.__construct(3) php man page | unix.com

Man Page: v8js.__construct

Operating Environment: php

Section: 3

V8JS.__CONSTRUCT(3)							 1						       V8JS.__CONSTRUCT(3)

V8Js::__construct - Construct a newV8Jsobject

SYNOPSIS
public V8Js::__construct TRUE ([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions])
DESCRIPTION
Constructs a new V8Js object.
PARAMETERS
o $object_name - The name of the object passed to Javascript. o $variables - Map of PHP variables that will be available in Javascript. Must be an associative array in format array("name-for-js" => "name- of-php-variable"). Defaults to empty array. o $extensions - List of extensions registered using V8Js.registerExtension(3) which should be available in the Javascript context of the created V8Js object. Note Extensions registered to be enabled automatically do not need to be listed in this array. Also if an extension has dependen- cies, those dependencies can be omitted as well. Defaults to empty array. o $report_uncaught_exceptions - Controls whether uncaught Javascript exceptions are reported immediately or not. Defaults to TRUE. If set to FALSE the uncaught exception can be accessed using V8Js.getPendingException(3).
RETURN VALUES
Returns a new V8Js context object. PHP Documentation Group V8JS.__CONSTRUCT(3)
Related Man Pages
array_count_values(3) - php
get_loaded_extensions(3) - php
array_product(3) - php
v8js.__construct(3) - php
collator.__construct(3) - php
Similar Topics in the Unix Linux Community
Monthly Salary in India for Web Programmer?
Report on Javascript attacks on Unix
JQuery and Javascript Alerts
Alerts (Green) in Lower Right Corner
Javascript CDN Loading Issues - Changed to Google CDN