Bibtex parsing class. More...

Public Member Functions

 __construct ($content)
 __destruct ()

Data Fields

 $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

__construct ( content  ) 

Definition at line 35 of file BibtexParser.php.

References fixFormatIssues(), and parse().

Here is the call graph for this function:

__destruct (  ) 

Definition at line 51 of file BibtexParser.php.


Member Function Documentation

fixFormatIssues (  )  [private]

Definition at line 177 of file BibtexParser.php.

Referenced by __construct().

getItemID (  )  [private]

Definition at line 107 of file BibtexParser.php.

Referenced by parse().

getItemProperty (  )  [private]

Definition at line 121 of file BibtexParser.php.

Referenced by parse().

getItemType (  )  [private]

Definition at line 93 of file BibtexParser.php.

References $type.

Referenced by parse().

nextItem (  )  [private]

Definition at line 77 of file BibtexParser.php.

Referenced by parse().

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:


Field Documentation

$cursor = 0 [private]

Definition at line 33 of file BibtexParser.php.

$fileContent = "" [private]

Definition at line 32 of file BibtexParser.php.

$items = array()

Definition at line 31 of file BibtexParser.php.


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