aboutsummaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
authorIgor <pashev.igor@gmail.com>2010-11-08 23:23:51 +0300
committerIgor <pashev.igor@gmail.com>2010-11-08 23:23:51 +0300
commit8fce6c7d3d5a661b87ed21fe9f3ed6675ba74eb5 (patch)
tree6d7805b1ab02cf7706014f56eac5d7da551ca528 /test.php
parented6c3110af1f0c8b224d6806df52e0adfdaba023 (diff)
downloaddokuwiki-plugin-papers-8fce6c7d3d5a661b87ed21fe9f3ed6675ba74eb5.tar.gz
Added method to export sorted BiBTeX
Diffstat (limited to 'test.php')
-rw-r--r--test.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/test.php b/test.php
index f6d51f7..9ef35df 100644
--- a/test.php
+++ b/test.php
@@ -1,15 +1,10 @@
<?php
require_once('bibtex.php');
-$bibtex = new BibtexParserGoga();
-$bibtex->read_file('example.bib');
-$bibtex->select(array(
- 'author' => '/pashev/',
- ));
+$bibtex = new BibtexParserTeam();
+$bibtex->read_file('1.bib');
+print $bibtex->export();
-print_r($bibtex->STRINGS);
-print_r($bibtex->SELECTION);
-
?>