confiscateAttr ( $attr, 'border' ); // some validation should happen here $this->prependCSS ( $attr, "border:{$border_width}px solid;" ); return $attr; } } // vim: et sw=4 sts=4