Esempio n. 1
0
 /**
  *
  */
 public static function getInstance()
 {
     if (self::$instance == NULL) {
         self::$instance = new refnotes_bibtex_parser();
     }
     return self::$instance;
 }
Esempio n. 2
0
 /**
  *
  */
 private function parseBibtex($text)
 {
     foreach (refnotes_bibtex_parser::getInstance()->parse($text) as $data) {
         $this->handleNote($data);
     }
 }