Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/theme/styles.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodlecore

Enumerations

enum  NO_DEBUG_DISPLAY
enum  ABORT_AFTER_CONFIG
enum  ABORT_AFTER_CONFIG_CANCEL
enum  NO_MOODLE_COOKIES
enum  NO_UPGRADE_CHECK

Functions

 store_css (theme_config $theme, $csspath, $cssfiles)
 send_ie_css ($themename, $rev)
 send_cached_css ($csspath, $rev)
 minify ($files)

Variables

 $themename = min_optional_param('theme', 'standard', 'SAFEDIR')
 $type = min_optional_param('type', 'all', 'SAFEDIR')
 $rev = min_optional_param('rev', 0, 'INT')
 $theme = theme_config::load($themename)

Enumeration Type Documentation

Definition at line 32 of file styles.php.

Definition at line 75 of file styles.php.

Definition at line 29 of file styles.php.

Definition at line 77 of file styles.php.

Definition at line 78 of file styles.php.


Function Documentation

minify ( files)

Definition at line 172 of file styles.php.

Here is the call graph for this function:

send_cached_css ( csspath,
rev 
)

Definition at line 154 of file styles.php.

Here is the call graph for this function:

send_ie_css ( themename,
rev 
)

Unfortunately IE6/7 does not support more than 4096 selectors in one CSS file, which means we have to use some ugly hacks :-(

Definition at line 129 of file styles.php.

store_css ( theme_config theme,
csspath,
cssfiles 
)

Definition at line 118 of file styles.php.

Here is the call graph for this function:


Variable Documentation

$rev = min_optional_param('rev', 0, 'INT')

Definition at line 37 of file styles.php.

$theme = theme_config::load($themename)

Definition at line 85 of file styles.php.

$themename = min_optional_param('theme', 'standard', 'SAFEDIR')

Definition at line 35 of file styles.php.

$type = min_optional_param('type', 'all', 'SAFEDIR')

Definition at line 36 of file styles.php.

 All Data Structures Namespaces Files Functions Variables Enumerations