Lines Matching refs:entry

178     foreach ( $parsed as &$entry ) {
179 $result[$entry['entrykey']] = $entry;
250 foreach ( $data as $entry ) {
252 if ( empty($this->options['lang']['entrytypes'][$entry['entrytype']]) ) {
253 $entry['entrytype'] = $this->options['lang']['entrytypes']['unknown'];
259 if ( !empty($entry[$field]) ) {
261 ? $entry['niceauthor']
262 : $entry[$field];
274 if ( !empty($replacementKeys[$entry['entrykey']]) ) {
275 $entry['entrykey'] = $replacementKeys[$entry['entrykey']];
278 $result[] = $entry;
297 foreach ( $data as $entry ) {
298 … if ( !empty($entry[$this->options['group']]) || $this->options['group'] === 'firstauthor' ) {
300 $target = $entry['author'][0]['nice'];
303 $target = $entry['niceauthor'];
306 $target = $entry[$this->options['group']];
317 $result[$target][] = $entry;
428 foreach ( $data as $entry ) {
429 $entries .= $this->translate_entry($entry, $entry_tpl[1]);
447 private function translate_entry(&$entry, $template) { argument
451 $result = $this->resolve_conditions($entry, $result);
457 foreach ( $entry as $key => $value ) {
459 $value = $entry['niceauthor'];
485 private function resolve_conditions(&$entry, &$string) { argument
508 $evalcond = !empty($entry[$match[1]]);
514 $evalcond = $entry[$match[1]] === $match[3];
517 $evalcond = $entry[$match[1]] !== $match[3];
520 $evalcond = is_numeric($entry[$match[1]])
522 && (int)$entry[$match[1]] <= (int)$match[3];
525 $evalcond = is_numeric($entry[$match[1]])
527 && (int)$entry[$match[1]] >= (int)$match[3];
530 $evalcond = preg_match('/'.$match[3].'/', $entry[$match[1]]) > 0;
544 $resolved = $this->resolve_conditions($entry, $resolved);