Exemplo n.º 1
0
 /**
  * fileFinder
  *
  * @param string $type
  * @return void
  */
 public static function fileFinder($type)
 {
     return Doctrine_FileFinder::type($type);
 }
Exemplo n.º 2
0
 /**
  * Sets the type of elements to returns.
  *
  * @param  string directory or file or any (for both file and directory)
  * @return object new Doctrine_FileFinder object
  */
 public static function type($name)
 {
     $finder = new Doctrine_FileFinder();
     return $finder->setType($name);
 }