ScriptServer Class Reference

ScriptServer sends JavaScript files to client. More...

List of all members.

Static Public Member Functions

static sendScript ($scriptName)
 Send script to client.


Detailed Description

ScriptServer sends JavaScript files to client.

Files are packed at server's side. This can take some time, so packed script files are cached at server's side. This class is not instantiable for now.

Definition at line 14 of file ScriptServer.class.php.


Member Function Documentation

static ScriptServer::sendScript ( scriptName  )  [static]

Send script to client.

Script can be red from script cache if cache is actual. If not, script will be generated autamatically.

Parameters:
scriptName Name of script to send. Script has to be placed in scriptDir directory.
Returns:
Return true on success, false if script does not exist.
Note:
This method will crash if cacheDir directory is not writeable.

Definition at line 22 of file ScriptServer.class.php.

References Config::instance().

Here is the call graph for this function:


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