QuickForm: add beforeSetup hook
This commit is contained in:
parent
747fd966d2
commit
afde1806f7
|
@ -363,6 +363,7 @@ abstract class QuickForm extends Zend_Form
|
||||||
public function prepareElements()
|
public function prepareElements()
|
||||||
{
|
{
|
||||||
if (! $this->didSetup) {
|
if (! $this->didSetup) {
|
||||||
|
$this->beforeSetup();
|
||||||
$this->setup();
|
$this->setup();
|
||||||
$this->addSubmitButtonIfSet();
|
$this->addSubmitButtonIfSet();
|
||||||
$this->onSetup();
|
$this->onSetup();
|
||||||
|
|
Loading…
Reference in New Issue