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

27 lines
403 B
PHP

<?php
class CSSOrphans extends CSSPropertyHandler {
function CSSOrphans() {
$this->CSSPropertyHandler(true, false);
}
function default_value() {
return 2;
}
function parse($value) {
return (int)$value;
}
function getPropertyCode() {
return CSS_ORPHANS;
}
function getPropertyName() {
return 'orphans';
}
}
CSS::register_css_property(new CSSOrphans);
?>