MINOR: Provide a setter for heading level on HeaderField object.

This commit is contained in:
Simon Elvery 2012-04-03 15:05:21 +10:00
parent fd7f2eb469
commit 68db977ef1

View File

@ -35,6 +35,10 @@ class HeaderField extends DatalessField {
public function getHeadingLevel() { public function getHeadingLevel() {
return $this->headingLevel; return $this->headingLevel;
} }
public function setHeadingLevel($level) {
$this->headingLevel = $level;
}
function getAttributes() { function getAttributes() {
return array_merge( return array_merge(