QuickForm: add beforeSetup hook

This commit is contained in:
Thomas Gelf 2016-03-22 01:26:44 +01:00
parent 747fd966d2
commit afde1806f7
1 changed files with 1 additions and 0 deletions

View File

@ -363,6 +363,7 @@ abstract class QuickForm extends Zend_Form
public function prepareElements()
{
if (! $this->didSetup) {
$this->beforeSetup();
$this->setup();
$this->addSubmitButtonIfSet();
$this->onSetup();