Files
luos/thirdparty/html2ps_pdf/css.widows.inc.php

25 lines
390 B
PHP
Raw Normal View History

2010-12-02 23:34:41 +00:00
<?php
class CSSWidows extends CSSPropertyHandler {
function CSSWidows() {
$this->CSSPropertyHandler(true, false);
}
function default_value() { return 2; }
function parse($value) {
return (int)$value;
}
function getPropertyCode() {
return CSS_WIDOWS;
}
function getPropertyName() {
return 'widows';
}
}
CSS::register_css_property(new CSSWidows);
?>