QuickBaseForm: less code
This commit is contained in:
parent
b6f6c82c18
commit
2e0e601cee
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue