src/php/Webforge/Common/System/File.php
protected function constructDefault($filename, Dir $directory=NULL) {
    $this->setName($filename);
    
    if (isset($directory)) 
      $this->setDirectory($directory);
  }
protected function constructDefault($filename, Dir $directory=NULL) {
    $this->setName($filename);
    
    if (isset($directory)) 
      $this->setDirectory($directory);
  }
protected function constructDefault ( $ filename , Dir $ directory = NULL ) { $ this -> setName ( $ filename ) ; if ( isset ( $ directory ) ) $ this -> setDirectory ( $ directory ) ; }
Creates a new File from filename and Directory Object

@param string $filename der Name der Datei
@param Dir $directory das Verzeichnis in dem die Datei liegt
Creates a new File from filename and Directory Object