Location: PHPKode > projects > Html2ps > html2ps-2.0.43/css.widows.inc.php
<?php

class CSSWidows extends CSSPropertyHandler {
  function CSSWidows() { 
    $this->CSSPropertyHandler(true, false); 
  }

  function default_value() { return 2; }

  function parse($value) {
    return (int)$value;
  }

  function get_property_code() {
    return CSS_WIDOWS;
  }

  function get_property_name() {
    return 'widows';
  }
}

CSS::register_css_property(new CSSWidows);

?>
Return current item: Html2ps