Methods
1 to 26 of 26
- csstidy::__construct() – Loads standard template and sets default settings
- csstidy::_add_token() – Adds a token to $this->tokens
- csstidy::_load_template() – Load a template
- csstidy::_unicode() – Parse unicode notations and find a replacement character
- csstidy::css_add_property() – Adds a property with value to the existing CSS code
- csstidy::css_new_media_section() – Start a new media section.
- csstidy::css_new_property() – Start a new propertie.
- csstidy::css_new_selector() – Start a new selector.
- csstidy::csstidy() –
- csstidy::escaped() – Checks if a character is escaped (and returns true if it is)
- csstidy::explode_selectors() – Explodes selectors
- csstidy::get_cfg() – Get the value of a setting.
- csstidy::gvw_important() – Returns a value without !important
- csstidy::is_important() – Checks if $value is !important.
- csstidy::is_token() – Checks if there is a token at the current position
- csstidy::load_template() – Loads a new template
- csstidy::log() – Add a message to the message log
- csstidy::merge_css_blocks() – Adds CSS to an existing media/selector
- csstidy::parse_from_url() – Starts parsing from URL
- csstidy::parse_string_list() – Accepts a list of strings (e.g., the argument to format() in a @font-face src property) and returns a list of the strings. Converts things like:
- csstidy::parse() – Parses CSS in $string. The code is saved as array in $this->css
- csstidy::property_is_next() – Checks if the next word in a string from pos is a CSS property
- csstidy::property_is_valid() – Checks if a property is valid
- csstidy::set_cfg() – Set the value of a setting.
- csstidy::write_page() – Write formatted output to a file
- csstidy::write() – Write plain output to a file