public function getFileName() {

		if(null === $this -> filename && null !== $this -> viewmodel) {
			$this -> filename = md5($this -> viewmodel -> getFile());
		}

		return $this -> filename;
	}
public function getFileName() {

		if(null === $this -> filename && null !== $this -> viewmodel) {
			$this -> filename = md5($this -> viewmodel -> getFile());
		}

		return $this -> filename;
	}
public function getFileName ( ) { if ( null === $ this -> filename && null !== $ this -> viewmodel ) { $ this -> filename = md5 ( $ this -> viewmodel -> getFile ( ) ) ; } return $ this -> filename ; }
Generates filename and returns it
@return string
Generates filename and returns it