CssLoader Class Reference

Public Member Functions

 getCss ()
 loadedCss ()
 load ($css, $media= 'all')
 loadFromModule ($moduleLabel, $lib, $media= 'all')

Static Public Member Functions

static getInstance ()

Private Member Functions

 __construct ()

Private Attributes

 $css
 $pathList

Static Private Attributes

static $instance = false

Detailed Description

Definition at line 174 of file loader.lib.php.


Constructor & Destructor Documentation

__construct (  )  [private]

Definition at line 180 of file loader.lib.php.


Member Function Documentation

getCss (  ) 

Definition at line 191 of file loader.lib.php.

static getInstance (  )  [static]

Definition at line 302 of file loader.lib.php.

load ( css,
media = 'all' 
)

Load a css file

Parameters:
string lib css file url relative to one of the declared css paths
Returns:
boolean true if the library was found, false else

Definition at line 207 of file loader.lib.php.

loadedCss (  ) 

Definition at line 196 of file loader.lib.php.

loadFromModule ( moduleLabel,
lib,
media = 'all' 
)

Definition at line 254 of file loader.lib.php.


Field Documentation

$css [private]

Definition at line 178 of file loader.lib.php.

$instance = false [static, private]

Definition at line 176 of file loader.lib.php.

$pathList [private]

Definition at line 178 of file loader.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:38 2010 for Claroline API by  doxygen 1.6.3