function loadFile($filename)
    {
        if (file_exists($filename)) {
            if (($this->content = @file_get_contents($filename)) === false) {
                throw new BibtexException('Could not open file ' . $filename);
            } else {
                $this->_pos = 0;
                $this->_oldpos = 0;
                return true;
            }
        } else {
            throw new BibtexException('Could not find file ' . $filename);
        }
    }
function loadFile($filename)
    {
        if (file_exists($filename)) {
            if (($this->content = @file_get_contents($filename)) === false) {
                throw new BibtexException('Could not open file ' . $filename);
            } else {
                $this->_pos = 0;
                $this->_oldpos = 0;
                return true;
            }
        } else {
            throw new BibtexException('Could not find file ' . $filename);
        }
    }
function loadFile ( $ filename ) { if ( file_exists ( $ filename ) ) { if ( ( $ this -> content = @ file_get_contents ( $ filename ) ) === false ) { throw new BibtexException ( 'Could not open file ' . $ filename ) ; } else { $ this -> _pos = 0 ; $ this -> _oldpos = 0 ; return true ; } } else { throw new BibtexException ( 'Could not find file ' . $ filename ) ; } }
Reads a give BibTex File

@access public
@param string $filename Name of the file
@return mixed true on success
@throws BibtexException
Reads a give BibTex File