FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Script Class Reference
Inheritance diagram for Script:
Handler Thing

Public Member Functions

 source ($source, $filename=null)
 
- Public Member Functions inherited from Handler
 __construct ($minify, $config)
 
 source ($source, $filename=null)
 Minify a source string. More...
 
 file ($source, $target=null)
 Minify a source file. More...
 
 files ($sources, $target=null)
 Minify and combine multiple source files. More...
 
- Public Member Functions inherited from Thing
 propertyExists ($property)
 Check if a property exists (public or published). More...
 
 constants ($prefix=null)
 Return all constants. More...
 
 get ($key)
 Get one or more properties. More...
 
 set ($key, $value=null)
 Set one or more properties. More...
 
 __get ($key)
 
 __set ($key, $value)
 

Protected Member Functions

 local ($script, $filename=null)
 
 service ($script, $filename=null)
 
- Protected Member Functions inherited from Handler
 init ()
 
- Protected Member Functions inherited from Thing
 publish ($property, $visibility=self::READABLE)
 Publish a property (or hide it again). More...
 
 configure ($config)
 Configure the object. More...
 
 _get ($key)
 Default getter if no specific setter is defined, and the property is also not published (readable). More...
 
 _set ($key, $value)
 Default setter if no specific setter is defined, and the property is also not published (writeable). More...
 

Protected Attributes

 $_java = null
 
 $_jar = null
 
 $_url = 'https://closure-compiler.appspot.com/compile?compilation_level=SIMPLE_OPTIMIZATIONS&output_format=json&warning_level=verbose&output_info=compiled_code&output_info=errors&output_info=warnings'
 
 $_ignore = []
 Regex's for compiler messages to ignore. More...
 
- Protected Attributes inherited from Handler
 $_minify
 
 $_config = null
 
- Protected Attributes inherited from Thing
 $_published = []
 Published properties (key = name of property, value = visibility). More...
 

Additional Inherited Members

- Data Fields inherited from Thing
const HIDDEN = 0
 Property is hidden. More...
 
const READABLE = 1
 Property is readable. More...
 
const WRITEABLE = 2
 Property is writeable. More...
 
const READWRITE = 3
 Property is readable and writeable. More...
 

Detailed Description

Definition at line 5 of file Script.php.

Member Function Documentation

◆ local()

local (   $script,
  $filename = null 
)
protected

Definition at line 12 of file Script.php.

◆ service()

service (   $script,
  $filename = null 
)
protected

Definition at line 23 of file Script.php.

◆ source()

source (   $source,
  $filename = null 
)

Definition at line 44 of file Script.php.

Field Documentation

◆ $_ignore

$_ignore = []
protected

Regex's for compiler messages to ignore.

Definition at line 10 of file Script.php.

◆ $_jar

$_jar = null
protected

Definition at line 8 of file Script.php.

◆ $_java

$_java = null
protected

Definition at line 7 of file Script.php.

◆ $_url

$_url = 'https://closure-compiler.appspot.com/compile?compilation_level=SIMPLE_OPTIMIZATIONS&output_format=json&warning_level=verbose&output_info=compiled_code&output_info=errors&output_info=warnings'
protected

Definition at line 9 of file Script.php.


The documentation for this class was generated from the following file: