Location: PHPKode > projects > Html2ps > html2ps-2.0.43/css.border.top.inc.php
<?php
// $Header: /cvsroot/html2ps/css.border.top.inc.php,v 1.1 2006/09/07 18:38:13 Konstantin Exp $

class CSSBorderTop extends CSSSubFieldProperty {
  function get_property_code() {
    return CSS_BORDER_TOP;
  }

  function get_property_name() {
    return 'border-top';
  }

  function parse($value) {
    if ($value == 'inherit') {
      return CSS_PROPERTY_INHERIT;
    };

    $border = CSSBorder::parse($value);
    return $border->left;
  }
}

?>
Return current item: Html2ps