Hi there, when i create a form element with pluginLoader in the options, like this,
$text = new Zend_Form_Element_Text('name',array( 'pluginLoader' => new Zend_Loader_PluginLoader(array( 'My_Path_Prefix'=>'My/Path/Prefix')) )); it throw the exception like following: An error occurred Application error Exception information: Message: Invalid type "" provided to setPluginLoader() Stack trace: #0 /Code/php/ZendFramework/library/Zend/Form/Element.php(329): Zend_Form_Element->setPluginLoader(Object(Zend_Loader_PluginLoader)) #1 /Code/php/ZendFramework/library/Zend/Form/Element.php(223): Zend_Form_Element->setOptions(Array) #2 /projects/SiteBuilder/application/controllers/IndexController.php(15): Zend_Form_Element->__construct('name', Array) #3 /Code/php/ZendFramework/library/Zend/Controller/Action.php(513): IndexController->indexAction() #4 /Code/php/ZendFramework/library/Zend/Controller/Dispatcher/Standard.php(289): Zend_Controller_Action->dispatch('indexAction') #5 /Code/php/ZendFramework/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #6 /Code/php/ZendFramework/library/Zend/Application/Bootstrap/Bootstrap.php(77): Zend_Controller_Front->dispatch() #7 /Code/php/ZendFramework/library/Zend/Application.php(335): Zend_Application_Bootstrap_Bootstrap->run() #8 /projects/SiteBuilder/public/index.php(26): Zend_Application->run() #9 {main} Request Parameters: array ( 'controller' => 'index', 'action' => 'index', 'module' => 'default', ) how can i provide the type of the pluginLoader in the element construct options? Best Regards Jacky