I'd like to load several form elements like Zend_Form_Element_Text
with one statement. Is there a way to do this with a *
wild card?
Instead of trying to load them like that, why don't you register Zend's autoloader?
After registering the Zend Framework autoload callback, you can reference classes from Zend Framework without having to load them explicitly. The autoload() method uses Zend_Loader::loadClass() automatically when you reference a class.
All you need to put in your code is:
Zend_Loader::registerAutoload();
Quote is from http://framework.zend.com/manual/en/zend.loader.load.html