Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?php
2
// $Header: /cvsroot/html2ps/css.left.inc.php,v 1.9 2006/11/11 13:43:52 Konstantin Exp $
3
 
4
require_once(HTML2PS_DIR.'value.left.php');
5
 
6
class CSSLeft extends CSSPropertyHandler {
7
  function CSSLeft() {
8
    $this->CSSPropertyHandler(false, false);
9
    $this->_autoValue = ValueLeft::fromString('auto');
10
  }
11
 
12
  function _getAutoValue() {
13
    return $this->_autoValue->copy();
14
  }
15
 
16
  function default_value() {
17
    return $this->_getAutoValue();
18
  }
19
 
20
  function parse($value) {
21
    return ValueLeft::fromString($value);
22
  }
23
 
24
  function get_property_code() {
25
    return CSS_LEFT;
26
  }
27
 
28
  function get_property_name() {
29
    return 'left';
30
  }
31
}
32
 
33
CSS::register_css_property(new CSSLeft);
34
 
35
?>