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

This commit is contained in:
Ingo Schommer 2012-02-17 00:24:35 +01:00
parent ad8fe82b37
commit e28afcacc5

View File

@ -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();
}