Returns the formatted CSS code
@access public @version 1.0
Parameters
string $default_media default @media to add to selectors without any @media:
Return value
string
4 calls to csstidy_print::formatted()
- csstidy_print::formatted_page in advagg_css_compress/
csstidy/ class.csstidy_print.inc - Returns the formatted CSS code to make a complete webpage
- csstidy_print::get_diff in advagg_css_compress/
csstidy/ class.csstidy_print.inc - Get difference between the old and new code in bytes and prints the code if necessary. @access public
- csstidy_print::get_ratio in advagg_css_compress/
csstidy/ class.csstidy_print.inc - Get compression ratio @access public
- csstidy_print::size in advagg_css_compress/
csstidy/ class.csstidy_print.inc - Get the size of either input or output CSS in KB
File
-
advagg_css_compress/
csstidy/ class.csstidy_print.inc, line 108
Class
- csstidy_print
- CSS Printing class
Code
function formatted($default_media = '') {
$this->_print(false, $default_media);
return $this->output_css;
}