Lines Matching refs:key
476 * Split entry in key and actual contents, call stringCallback for @string entries and bibItemCallback for all other entries.
479 * @param callable $stringCallback Will be called with two arguments (key, value) for @string entries
480 * @param callable $bibItemCallback Will be called with two arguments (key, full entry as string) for all non-@string entries
496 // Look for key
501 $key = $matches[2];
502 call_user_func($bibItemCallback, $key, $entry);
516 $stringCallback = fn($key, $value) => $this->_strings[$key] = $value;
517 $bibItemCallback = fn($key, $value) => $this->entries[$key] = $value;
526 $stringCallback = fn($key, $value) => $this->sqlite->query("INSERT OR REPLACE INTO strings (string, entry) VALUES (?,?)", $key, $value);
527 $bibItemCallback = fn($key, $value) => $this->sqlite->query("INSERT OR REPLACE INTO bibtex (key, entry) VALUES (?,?)", $key, $value);
536 $stringCallback = fn($key, $value) => $this->_sqlStatements[] = array("INSERT OR REPLACE INTO strings (string, entry) VALUES (?,?)", array($key, $value));
537 $bibItemCallback = fn($key, $value) => $this->_sqlStatements[] = array("INSERT OR REPLACE INTO bibtex (key, entry) VALUES (?,?)", array($key, $value));
611 // Look for key