Index: library/Zend/Form.php
===================================================================
--- library/Zend/Form.php (revision 8819)
+++ library/Zend/Form.php (working copy)
@@ -207,9 +207,22 @@
}
$this->loadDefaultDecorators();
+
+ $this->init();
}
/**
+ * Initialize object
+ *
+ * Called from {@link __construct()} as final step of object instantiation.
+ *
+ * @return void
+ */
+ public function init()
+ {
+ }
+
+ /**
* Set form state from options array
*
* @param array $options
One note: I think that init() should be called not as the last item in __construct(), but the last item before the call to loadDefaultDecorators(). This would allow you to prevent the default decorators from loading if you were to create them in your init() method.