QuickBaseForm: less code

This commit is contained in:
Thomas Gelf 2017-07-13 07:19:27 +02:00
parent b6f6c82c18
commit 2e0e601cee
1 changed files with 5 additions and 7 deletions

View File

@ -59,13 +59,11 @@ abstract class QuickBaseForm extends Zend_Form implements ValidHtml
ucfirst($module->getName()) ucfirst($module->getName())
); );
$this->addPrefixPaths(array( $this->addPrefixPath(
array( __NAMESPACE__ . '\\Element\\',
'prefix' => __NAMESPACE__ . '\\Element\\', $basedir . '/Element',
'path' => $basedir . '/Element', static::ELEMENT
'type' => static::ELEMENT );
)
));
return $this; return $this;
} }