private function getLocalFileHash($filename)
        {
                $path = $this->phpids_base . $filename;
                if (file_exists($path)) {
                        return sha1_file($path);
                } else {
                        return false;
                }
        }
private function getLocalFileHash($filename)
        {
                $path = $this->phpids_base . $filename;
                if (file_exists($path)) {
                        return sha1_file($path);
                } else {
                        return false;
                }
        }
private function getLocalFileHash ( $ filename ) { $ path = $ this -> phpids_base . $ filename ; if ( file_exists ( $ path ) ) { return sha1_file ( $ path ) ; } else { return false ; } }
Generate SHA-1 hash for local files

@param string FILENAME_RULES or FILENAME_CONVERTER
@return mixed SHA-1 hash of local file or false if file does not exists
Generate SHA - 1 hash for local files