JSOnloadList Class Reference

Maintain list of Javascript function invoked on page load (at client's side). More...

List of all members.

Public Member Functions

 addFunction ($fnName)
 Add function to list.
 generate ()
 Generate list of function.

Static Public Member Functions

static instance ()
 Access point to singleton instance.


Detailed Description

Maintain list of Javascript function invoked on page load (at client's side).

Design pattern singleton.

Definition at line 323 of file base.php.


Member Function Documentation

JSOnloadList::addFunction ( fnName  ) 

Add function to list.

Function is placed as-is without any parameters. Return value of function is ignored.

Parameters:
fnName Name of function to add to list.

Definition at line 339 of file base.php.

JSOnloadList::generate (  ) 

Generate list of function.

This has to be called inside XHTML <head> element.

Note:
This method can be called only once.

Definition at line 346 of file base.php.


The documentation for this class was generated from the following file:
Generated on Sat Mar 8 10:26:44 2008 for Dudka.cz by  doxygen 1.5.4