Lines Matching refs:key

72      * Number of the currently highest cite key if style "numeric" is used
252 * Prints the reference corresponding to the given bibtex key
257 * @param string BibTeX key of the reference
266 $rawBibtexEntry = $this->sqlite->res2arr($this->sqlite->query("SELECT entry FROM bibtex WHERE key=?",$bibtex_key));
288 foreach ($ref as $key => $value) {
289 $normalizedRef[strtoupper($key)] = $value;
346 foreach ($this->_bibtex_keysNotCited as $key => $no) {
347 if (!array_key_exists($key,$this->_bibtex_keysCited)) {
348 $this->_bibtex_keysCited[$key] = ++$this->_currentKeyNumber;
354 foreach ($this->_bibtex_keysCited as $key => $no) {
358 $rawBibtexEntry = $this->sqlite->res2arr($this->sqlite->query("SELECT entry FROM bibtex WHERE key=?",$key));
364 $citedKeys[$key] = $this->_parser->data[0]['authoryear'];
366 $citedKeys[$key] = $this->_bibtex_references[$this->_bibtex_keys[$key]]['authoryear'];
386 foreach ($this->_bibtex_keysNotCited as $key => $no) {
390 $rawBibtexEntry = $this->sqlite->res2arr($this->sqlite->query("SELECT entry FROM bibtex WHERE key=?",$key));
396 $notcitedKeys[$key] = $this->_parser->data[0]['authoryear'];
398 $notcitedKeys[$key] = $this->_bibtex_references[$this->_bibtex_keys[$key]]['authoryear'];
424 foreach ($citedKeys as $key => $no) {
425 if ($this->keyExists($key)) {
426 $html .= '<li><div class="li" name="ref__' . $key . '" id="ref__'. $key . '">';
427 $html .= $this->printReference($key);
430 msg("BibTeX key '$key' could not be found. Possible typo?");
447 foreach ($citedKeys as $key => $no) {
448 if ($this->keyExists($key)) {
450 $html .= $this->printCitekey($key);
453 $html .= $this->printReference($key);
456 msg("BibTeX key '$key' could not be found. Possible typo?");
464 * Return the cite key of the given reference for using in the text
467 * If the citetype is unknown, the bibtex key is returned
469 * @param string bibtex key of the reference
470 * @return string cite key of the reference (according to the citetype set)
479 $rawBibtexEntry = $this->sqlite->res2arr($this->sqlite->query("SELECT entry FROM bibtex WHERE key=?",$bibtex_key));
490 // Check whether key exists
530 * Check if given key exists in currently used BibTeX database
532 * @param string bibtex key of the reference
537 $rawBibtexEntry = $this->sqlite->res2arr($this->sqlite->query("SELECT entry FROM bibtex WHERE key=?",$bibkey));