Source for file Structures_BibTex_example.php
Documentation is available at Structures_BibTex_example.php
require_once './Structures_BibTex.php';
//Loading and parsing the file example.bib
$ret= $foo->loadFile ('example.bib');
if(PEAR ::isError ($ret)) {
print $ret->getMessage ();
$addarray['type'] = 'Article';
$addarray['cite'] = 'art2';
$addarray['title'] = 'Titel2';
$addarray['author'][0 ]['first'] = 'John';
$addarray['author'][0 ]['last'] = 'Doe';
$addarray['author'][1 ]['first'] = 'Jane';
$addarray['author'][1 ]['last'] = 'Doe';
$foo->addEntry ($addarray);
print "Converting This Array:\n\n";
print "\nInto this:\n\n";
Documentation generated on Mon, 11 Mar 2019 14:41:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|