Ejemplo n.º 1
0
 function postparse()
 {
     if (!empty($this->parser->import)) {
         $this->parser->import = array();
     }
     if (!empty($this->parser->charset)) {
         $this->parser->charset = array();
     }
     return parent::postparse();
 }
 function postparse()
 {
     /**
      * Do actions after parsing the css
      *
      * @since ?
      * @module Custom_CSS
      * @param safecss $obj
      **/
     do_action('csstidy_optimize_postparse', $this);
     return parent::postparse();
 }
Ejemplo n.º 3
0
 function postparse()
 {
     /**
      * Fires after parsing the css.
      *
      * @module custom-css
      *
      * @since 1.8.0
      *
      * @param obj $this CSSTidy object.
      */
     do_action('csstidy_optimize_postparse', $this);
     return parent::postparse();
 }
Ejemplo n.º 4
0
 function postparse()
 {
     do_action('csstidy_optimize_postparse', $this);
     return parent::postparse();
 }
Ejemplo n.º 5
0
 function postparse()
 {
     if (!empty($this->parser->import)) {
         $this->tattle("Import attempt:\n" . print_r($this->parser->import, 1));
         $this->parser->import = array();
     }
     if (!empty($this->parser->charset)) {
         $this->tattle("Charset attempt:\n" . print_r($this->parser->charset, 1));
         $this->parser->charset = array();
     }
     return parent::postparse();
 }
 /**
  * Optimises $css after parsing.
  */
 function postparse()
 {
     /** This action is documented in modules/custom-css/custom-css.php */
     do_action('csstidy_optimize_postparse', $this);
     return parent::postparse();
 }