mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Added FormAction->setUseButtonTag() and getUseButtonTag()
This commit is contained in:
parent
ad8fe82b37
commit
e28afcacc5
@ -105,6 +105,21 @@ class FormAction extends FormField {
|
|||||||
return $this->buttonContent;
|
return $this->buttonContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Boolean
|
||||||
|
*/
|
||||||
|
public function setUseButtonTag($bool) {
|
||||||
|
$this->useButtonTag = $bool;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Boolean
|
||||||
|
*/
|
||||||
|
public function getUseButtonTag() {
|
||||||
|
return $this->useButtonTag;
|
||||||
|
}
|
||||||
|
|
||||||
function extraClass() {
|
function extraClass() {
|
||||||
return 'action ' . parent::extraClass();
|
return 'action ' . parent::extraClass();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user