Permalink
Browse files

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

  • Loading branch information...
1 parent fd7f2eb commit 68db977ef14583c4ac3cac747459fc5d0cde230c @drzax drzax committed Apr 3, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 forms/HeaderField.php
@@ -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(

0 comments on commit 68db977

Please sign in to comment.