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

Man Page: v8js.registerextension

Operating Environment: php

Section: 3

V8JS.REGISTEREXTENSION(3)						 1						 V8JS.REGISTEREXTENSION(3)

V8Js::registerExtension - Register Javascript extensions for V8Js

SYNOPSIS
publicstatic bool V8Js::registerExtension FALSE (string $extension_name, string $script, [array $dependencies = array()], [bool $auto_enable])
DESCRIPTION
Registers passed Javascript $script as extension to be used in V8Js contexts.
PARAMETERS
o $extension_name - Name of the extension to be registered. o $script - The Javascript code to be registered. o $dependencies - Array of extension names the extension to be registered depends on. Any such extension is enabled automatically when this exten- sion is loaded. Note All extensions, including the dependencies, must be registered before any V8Js are created which use them. o $auto_enable - If set to TRUE, the extension will be enabled automatically in all V8Js contexts.
RETURN VALUES
Returns TRUE if extension was registered successfully, FALSE otherwise. PHP Documentation Group V8JS.REGISTEREXTENSION(3)
Related Man Pages
create_extension(7) - centos
glutextensionsupported(3glut) - redhat
dpmsgetversion(3) - debian
phpversion(3) - php
mysqlnd_uh_set_statement_proxy(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch