From e28afcacc55f7afc50a1f2d23fe7bcaa7a8af534 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 17 Feb 2012 00:24:35 +0100 Subject: [PATCH] MINOR Added FormAction->setUseButtonTag() and getUseButtonTag() --- forms/FormAction.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/forms/FormAction.php b/forms/FormAction.php index a0ec912af..712003114 100644 --- a/forms/FormAction.php +++ b/forms/FormAction.php @@ -105,6 +105,21 @@ class FormAction extends FormField { 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(); }