You are here

public function PARSEENTRIES::loadStringMacro in Bibliography Module 7

Same name and namespace in other branches
  1. 5 bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadStringMacro()
  2. 6.2 modules/bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadStringMacro()
  3. 6 bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadStringMacro()
  4. 7.3 plugins/biblio_style/bibtex/PARSEENTRIES.php \PARSEENTRIES::loadStringMacro()
  5. 7.2 modules/bibtexParse/PARSEENTRIES.php \PARSEENTRIES::loadStringMacro()

Set strings macro.

File

modules/bibtexParse/PARSEENTRIES.php, line 202

Class

PARSEENTRIES
// Parse a file $parse = NEW PARSEENTRIES(); $parse->expandMacro = TRUE; // $array = array("RMP" =>"Rev., Mod. Phys."); // $parse->loadStringMacro($array); // $parse->removeDelimit = FALSE; // …

Code

public function loadStringMacro($macro_array) {
  $this->userStrings = $macro_array;
}