Files
luos/thirdparty/html2ps_pdf/css.widows.inc.php
Paula Quispe 9eb7d6cac2 HOR-2689
2017-08-03 17:00:30 -04:00

25 lines
390 B
PHP

<?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);
?>