Lines Matching refs:entry

159     foreach ( $parsed as &$entry ) {
160 $result[$entry['entrykey']] = $entry;
231 foreach ( $data as $entry ) {
233 if ( empty($this->options['lang']['entrytypes'][$entry['entrytype']]) ) {
234 $entry['entrytype'] = $this->options['lang']['entrytypes']['unknown'];
240 if ( !empty($entry[$field]) ) {
242 ? $entry['niceauthor']
243 : $entry[$field];
255 if ( !empty($replacementKeys[$entry['entrykey']]) ) {
256 $entry['entrykey'] = $replacementKeys[$entry['entrykey']];
259 $result[] = $entry;
278 foreach ( $data as $entry ) {
279 … if ( !empty($entry[$this->options['group']]) || $this->options['group'] === 'firstauthor' ) {
281 $target = $entry['author'][0]['nice'];
284 $target = $entry['niceauthor'];
287 $target = $entry[$this->options['group']];
298 $result[$target][] = $entry;
409 foreach ( $data as $entry ) {
410 $entries .= $this->translate_entry($entry, $entry_tpl[1]);
428 private function translate_entry(&$entry, $template) { argument
432 $result = $this->resolve_conditions($entry, $result);
438 foreach ( $entry as $key => $value ) {
440 $value = $entry['niceauthor'];
459 private function resolve_conditions(&$entry, &$string) { argument
482 $evalcond = !empty($entry[$match[1]]);
488 $evalcond = $entry[$match[1]] === $match[3];
491 $evalcond = $entry[$match[1]] !== $match[3];
494 $evalcond = is_numeric($entry[$match[1]])
496 && (int)$entry[$match[1]] <= (int)$match[3];
499 $evalcond = is_numeric($entry[$match[1]])
501 && (int)$entry[$match[1]] >= (int)$match[3];
504 $evalcond = preg_match('/'.$match[3].'/', $entry[$match[1]]) > 0;
518 $resolved = $this->resolve_conditions($entry, $resolved);