protected $mSubmitText;
protected $mSubmitTooltip;
protected $mTitle;
+ protected $mMethod = 'post';
protected $mUseMultipart = false;
protected $mHiddenFields = array();
# Attributes
$attribs = array(
'action' => $this->getTitle()->getFullURL(),
- 'method' => 'post',
+ 'method' => $this->mMethod,
'class' => 'visualClear',
'enctype' => $encType,
);
function getTitle() {
return $this->mTitle;
}
+
+ /**
+ * Set the method used to submit the form
+ * @param $method String
+ */
+ public function setMethod( $method='post' ){
+ $this->mMethod = $method;
+ }
/**
* TODO: Document