/** * Creates an empty form. Allows overruling in sub-classes. * * @param mixed $options * @return \Zend_Form */ protected function createForm($options = null) { $optionVars = array('askCheck', 'askOld', 'checkFields', 'forceRules', 'reportRules'); foreach ($optionVars as $name) { if ($this->{$name} !== null) { $options[$name] = $this->{$name}; } } $options['useTableLayout'] = false; // Layout set by this snippet return $this->user->getChangePasswordForm($options); }