예제 #1
0
파일: Factory.php 프로젝트: ngchie/system
 /**
  * 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)));
 }