BibtexParser Class Reference

Bibtex parsing class. More...

List of all members.

Public Member Functions

 __construct ($content)
 __destruct ()

Public Attributes

 $items = array()

Private Member Functions

 parse ()
 nextItem ()
 getItemType ()
 getItemID ()
 getItemProperty ()
 fixFormatIssues ()

Private Attributes

 $fileContent = ""
 $cursor = 0


Detailed Description

Bibtex parsing class.


Author:
Frederick Giasson, Structured Dynamics LLC.



Definition at line 29 of file BibtexParser.php.


Constructor & Destructor Documentation

BibtexParser::__construct ( content  ) 

Definition at line 35 of file BibtexParser.php.

References fixFormatIssues(), and parse().

Here is the call graph for this function:

BibtexParser::__destruct (  ) 

Definition at line 51 of file BibtexParser.php.


Member Function Documentation

BibtexParser::fixFormatIssues (  )  [private]

Definition at line 177 of file BibtexParser.php.

Referenced by __construct().

BibtexParser::getItemID (  )  [private]

Definition at line 107 of file BibtexParser.php.

Referenced by parse().

BibtexParser::getItemProperty (  )  [private]

Definition at line 121 of file BibtexParser.php.

Referenced by parse().

BibtexParser::getItemType (  )  [private]

Definition at line 93 of file BibtexParser.php.

References $type.

Referenced by parse().

BibtexParser::nextItem (  )  [private]

Definition at line 77 of file BibtexParser.php.

Referenced by parse().

BibtexParser::parse (  )  [private]

Definition at line 53 of file BibtexParser.php.

References getItemID(), getItemProperty(), getItemType(), and nextItem().

Referenced by __construct().

Here is the call graph for this function:


Member Data Documentation

BibtexParser::$cursor = 0 [private]

Definition at line 33 of file BibtexParser.php.

BibtexParser::$fileContent = "" [private]

Definition at line 32 of file BibtexParser.php.

BibtexParser::$items = array()

Definition at line 31 of file BibtexParser.php.


The documentation for this class was generated from the following file:
Copyright © 2009. Structured Dynamics LLC Structured Dynamics LLC. All rights reserved.