Netvibes
[ class tree: Netvibes ] [ index: Netvibes ] [ all elements ]

Class: Compiler

Source Location: /Compiler.php

Class Overview


Compiler main class.

Author(s):

Variables

Methods


Child classes:

Compiler_Frame
Frame Compiler to render a UWA widget within an iframe.
Compiler_Google
Frame Compiler to render a UWA widget within an iframe.
Compiler_Uwa
UWA compilation utilities.

Class Details

[line 25] Compiler main class.

Tags:

abstract:  
[ Top ]

Class Variables

$_coreLibraries =

[line 46]

JavaScript core libraries.

Tags:

access:  protected
Type:   array
[ Top ]

$_environment =

[line 39]

JavaScript environment name.

Tags:

access:  protected
Type:   string
[ Top ]

$_widget =

[line 32]

Widget instance.

Tags:

access:  protected
Type:   Widget
[ Top ]

Class Methods


constructor __construct [line 53]

Compiler __construct( Widget $widget)
Constructor.

Tags:

access:  public

Parameters:

Widget   $widget  
[ Top ]

method render [line 203]

void render( )
* ABSTRACT FUNCTIONS **

Tags:

abstract:  
access:  public

Overridden in child classes as:

Compiler_Frame::render()
Main rendering function.
Compiler_Google::render()
Main rendering function.
Compiler_Uwa::render()
Main rendering function.

[ Top ]

method setOptions [line 92]

Compiler setOptions( [array $options = array()])
Sets the options.

Tags:

return:  Object instance
access:  public

Parameters:

array   $options  
[ Top ]

method _getCoreLibraries [line 143]

array _getCoreLibraries( [string $name = 'uwa'])
Retrieves the list of the JavaScript core libraries used in a widget.

Tags:

access:  protected

Parameters:

string   $name  
[ Top ]

method _getJavascripts [line 182]

array _getJavascripts( string $name)
Retrieves the list of the JavaScript libraries used in a widget (both UWA and specific ones).

Tags:

access:  protected

Parameters:

string   $name  
[ Top ]

method _getStylesheets [line 105]

array _getStylesheets( )
Retrieves the list of the stylesheets used in a widget.

Tags:

access:  protected
[ Top ]

Documentation generated on Fri, 30 May 2008 16:46:42 +0200 by phpDocumentor 1.4.1