1<?php 2// $Header: /cvsroot/html2ps/css.html2ps.pseudoelements.inc.php,v 1.1 2006/09/07 18:38:14 Konstantin Exp $ 3 4define('CSS_HTML2PS_PSEUDOELEMENTS_NONE' ,0); 5define('CSS_HTML2PS_PSEUDOELEMENTS_BEFORE',1); 6define('CSS_HTML2PS_PSEUDOELEMENTS_AFTER' ,2); 7 8class CSSHTML2PSPseudoelements extends CSSPropertyHandler { 9 function CSSHTML2PSPseudoelements() { 10 $this->CSSPropertyHandler(false, false); 11 } 12 13 function default_value() { 14 return CSS_HTML2PS_PSEUDOELEMENTS_NONE; 15 } 16 17 function parse($value) { 18 return $value; 19 } 20 21 function get_property_code() { 22 return CSS_HTML2PS_PSEUDOELEMENTS; 23 } 24 25 function get_property_name() { 26 return '-html2ps-pseudoelements'; 27 } 28} 29 30CSS::register_css_property(new CSSHTML2PSPseudoelements); 31 32?>