Lines Matching refs:ret

216         $ret = true;
221 $ret = false;
223 return $ret;
596 $ret = array('bibtex' => $entry.'}');
616 $ret['entrykey'] = $matches[1];
681 $ret[$field] = $value;
686 $ret['cite'] = trim($arr[1]);
687 $ret['entrytype'] = strtolower(trim($arr[0]));
688 if ('@' == $ret['entrytype'][0]) {
689 $ret['entrytype'] = substr($ret['entrytype'], 1);
692 if (!$this->_checkAllowedEntryType($ret['entrytype'])) {
693 $this->_generateWarning('WARNING_NOT_ALLOWED_ENTRY_TYPE', $ret['entrytype'], $entry.'}');
697 if (in_array('author', array_keys($ret)) && $this->_options['extractAuthors']) {
698 // Array with all the authors in $ret['authors']
699 $ret['authors'] = $this->_extractAuthors($ret['author']);
701 if (empty($ret['year'])) {
702 if (!empty($ret['date']) && preg_match('|(\d\d\d\d).*|U', $ret['date'], $matches)) {
703 $ret['year'] = $matches[1];
705 $ret['year'] = '[n.d.]';
708 $ret['authoryear'] = $ret['authors'][0]['last'] . $ret['year'];
709 // Nicely formatted authors list in $ret['author']
711 foreach ($ret['authors'] as $authorentry) {
714 $ret['author'] = implode($this->authordelimiter, $tmparray);
717 if (in_array('editor', array_keys($ret)) && $this->_options['extractAuthors']) {
718 // Array with all the editors in $ret['editors']
719 $ret['editors'] = $this->_extractAuthors($ret['editor']);
720 // Nicely formatted authors list in $ret['editor']
722 foreach ($ret['editors'] as $editorentry) {
725 $ret['editor'] = implode($this->authordelimiter, $tmparray);
728 return $ret;
837 $ret = true;
854 $ret = false;
858 if ($ret) {
868 $ret = false;
877 $ret = true;
883 return $ret;
911 $ret = false;
944 $ret = true;
947 return $ret;
1141 $ret = -1;
1159 $ret = 1;
1162 $ret = 0;
1169 $ret = PHP_INT_MAX;
1170 // $ret = PEAR::raiseError('Could not determine case on word: '.(string)$word);
1172 return $ret;
1318 $ret = $this->authorstring;
1319 $ret = str_replace("VON", $array['von'], $ret);
1320 $ret = str_replace("LAST", $array['last'], $ret);
1323 $ret = str_replace("JR", $array['jr'], $ret);
1325 $ret = str_replace(", JR", '', $ret);
1327 $ret = str_replace("FIRST", $array['first'], $ret);
1328 return trim($ret);