Permalink
Browse files

MINOR Added FormAction->setUseButtonTag() and getUseButtonTag()

  • Loading branch information...
1 parent ad8fe82 commit e28afcacc55f7afc50a1f2d23fe7bcaa7a8af534 @chillu chillu committed Feb 16, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 forms/FormAction.php
View
@@ -105,6 +105,21 @@ function getButtonContent() {
return $this->buttonContent;
}
+ /**
+ * @param Boolean
+ */
+ public function setUseButtonTag($bool) {
+ $this->useButtonTag = $bool;
+ return $this;
+ }
+
+ /**
+ * @return Boolean
+ */
+ public function getUseButtonTag() {
+ return $this->useButtonTag;
+ }
+
function extraClass() {
return 'action ' . parent::extraClass();
}

0 comments on commit e28afca

Please sign in to comment.