/** * register a new iterator class to corespond to a given parser type. * @param string $type the type of parser to register the class on. * @param string $class the parser class name. */ public static function registerDirecotryType($type, $class) { Zend_Ftp_Factory::registerTypes(array('directory' => array($type => $class))); }