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()
|
||||
{
|
||||
if (! $this->didSetup) {
|
||||
$this->beforeSetup();
|
||||
$this->setup();
|
||||
$this->addSubmitButtonIfSet();
|
||||
$this->onSetup();
|
||||
|
|
Loading…
Reference in New Issue