Skip to content

Commit

Permalink
MINOR: Provide a setter for heading level on HeaderField object.
Browse files Browse the repository at this point in the history
  • Loading branch information
drzax committed Apr 3, 2012
1 parent fd7f2eb commit 68db977
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions forms/HeaderField.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ function __construct($name, $title = null, $headingLevel = 2) {
public function getHeadingLevel() {
return $this->headingLevel;
}

public function setHeadingLevel($level) {
$this->headingLevel = $level;
}

function getAttributes() {
return array_merge(
Expand Down

0 comments on commit 68db977

Please sign in to comment.