/** * register new type to use when constructing concreate objects. * @param array an array containing the new types and classes. */ public static function registerTypes($typesArray) { Zend_Ftp_Factory::$registeredTypes = array_merge(Zend_Ftp_Factory::$registeredTypes, $typesArray); }