Method |
Description |
|
__construct ( ) |
Generates new Scripts objects |
|
addCode ( string $code ) : void |
Adds a new code snippet to the code to be executed |
|
addFile ( string $filename, boolean $before_statics = false ) : void |
Adds a new file to the list of scripts |
|
addFiles ( array $filelist ) : void |
Add new files to the list of scripts |
|
getDisplay ( ) : string |
Renders all the JavaScript file inclusions, code and events |
|
getFiles ( ) : array |
Returns a list with filenames and a flag to indicate
whether to register onload events for this file |
|