1<?php
2// $Header: /cvsroot/html2ps/css.pseudo.listcounter.inc.php,v 1.4 2006/09/07 18:38:14 Konstantin Exp $
3
4class CSSPseudoListCounter extends CSSPropertyHandler {
5  function CSSPseudoListCounter() {
6    $this->CSSPropertyHandler(true, false);
7  }
8
9  function default_value() {
10    return 0;
11  }
12
13  function get_property_code() {
14    return CSS_HTML2PS_LIST_COUNTER;
15  }
16
17  function get_property_name() {
18    return '-html2ps-list-counter';
19  }
20
21  function parse($value) {
22    return (int)$value;
23  }
24}
25
26CSS::register_css_property(new CSSPseudoListCounter);
27
28?>