Baigudin Software avatar
Baigudin Software logo
ru region
en region

PHP DOM Builder API 2.0

EOOS Automotive R22-07 is released in version v0.9.0

The first official release of EOOS Automotive that is elaborated for POSIX and WIN32 compatible operating systems and based on interfaces designed for EOOS RT – real time operating system.

Class «DomBuilder\Element\Script»

script – embedded script.

The script element enables dynamic script and data blocks to be included in documents.

All implemented interfaces:

Object Builder Property Attribute Traverse Fetch Search Tester

public Script javascript(string $src=NULL);

Sets this element as 'text/javascript' type.

string $src — a value of 'src' attribute.

Script — this element.

public Script program(string $code);

Sets a program source code.

string $code — program source code.

Script — this element.

Back to class list