• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Jetpack a2z

Jetpack a2z

Jetpack a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / modules/custom-css/csstidy/class.csstidy.php


Lines:

1 to 92 of 92
<?php

/**
 * CSSTidy - CSS Parser and Optimiser
 *
 * CSS Parser class
 *
 * Copyright 2005, 2006, 2007 Florian Schmitz
 *
 * This file is part of CSSTidy.
 *
 *   CSSTidy is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published by
 *   the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 *   CSSTidy is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU Lesser General Public License for more details.
 *
 *   You should have received a copy of the GNU Lesser General Public License
 *   along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 * @license https://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
 * @package csstidy
 * @author Florian Schmitz (floele at gmail dot com) 2005-2007
 * @author Brett Zamir (brettz9 at yahoo dot com) 2007
 * @author Nikolay Matsievsky (speed at webo dot name) 2009-2010
 * @author Cedric Morin (cedric at yterium dot com) 2010
 */

/**
 * Defines ctype functions if required
 *
 * @version 1.0
 */
require_once( dirname( __FILE__ ) . '/class.csstidy_ctype.php' );


/**
 * Various CSS data needed for correct optimisations etc.
 *
 * @version 1.3
 */
require( dirname( __FILE__ ) . '/data.inc.php' );


/**
 * Contains a class for printing CSS code
 *
 * @version 1.0
 */
require( dirname( __FILE__ ) . '/class.csstidy_print.php' );


/**
 * Contains a class for optimising CSS code
 *
 * @version 1.0
 */
require( dirname( __FILE__ ) . '/class.csstidy_optimise.php' );

/* class csstidy */
/* function csstidy::__construct() – Loads standard template and sets default settings */
/* function csstidy::csstidy() – */
/* function csstidy::get_cfg() – Get the value of a setting. */
/* function csstidy::_load_template() – Load a template */
/* function csstidy::set_cfg() – Set the value of a setting. */
/* function csstidy::_add_token() – Adds a token to $this->tokens */
/* function csstidy::log() – Add a message to the message log */
/* function csstidy::_unicode() – Parse unicode notations and find a replacement character */
/* function csstidy::write_page() – Write formatted output to a file */
/* function csstidy::write() – Write plain output to a file */
/* function csstidy::load_template() – Loads a new template */
/* function csstidy::parse_from_url() – Starts parsing from URL */
/* function csstidy::is_token() – Checks if there is a token at the current position */
/* function csstidy::parse() – Parses CSS in $string. The code is saved as array in $this->css */
/* function csstidy::explode_selectors() – Explodes selectors */
/* function csstidy::escaped() – Checks if a character is escaped (and returns true if it is) */
/* function csstidy::css_add_property() – Adds a property with value to the existing CSS code */
/* function csstidy::css_new_media_section() – Start a new media section. */
/* function csstidy::css_new_selector() – Start a new selector. */
/* function csstidy::css_new_property() – Start a new propertie. */
/* function csstidy::merge_css_blocks() – Adds CSS to an existing media/selector */
/* function csstidy::is_important() – Checks if $value is !important. */
/* function csstidy::gvw_important() – Returns a value without !important */
/* function csstidy::property_is_next() – Checks if the next word in a string from pos is a CSS property */
/* function csstidy::property_is_valid() – Checks if a property is valid */
/* function 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: */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: modules/custom-css/csstidy/class.csstidy.php
      Plugin ref: Jetpack
      Version: 9.4
      Deprecated?: No
      API Letters: C,M

      Related

      Published: 27 November 2019 | Last updated: 10 December 2020

      Primary Sidebar

      Information

      File name: modules/custom-css/csstidy/class.csstidy.php
      Plugin ref: Jetpack
      Version: 9.4
      Deprecated?: No
      API Letters: C,M

      modules/custom-css/csstidy

      Footer

      Jetpack a2z
      Jetpack a2z
      Jetpack a2z
      WordPress 5.6.2
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  jetpack.wp-a2z.org
      © Copyright Jetpack a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites