Lines Matching refs:prev
32 if (isset ($relatedEntries['prev'])) {
34 'rel' => 'prev',
35 'href' => wl($relatedEntries['prev']['id'], '')
121 // Initialize prev, cur and next with null
123 $prev = null;
127 if ($curIndex > 0 && $curIndex < count($entries) - 1) { // got a prev and a next
128 list ($next, $cur, $prev) = array_slice($entries, $curIndex -1, 3);
129 } else if ($curIndex == 0) { // only got a prev
130 list ($cur, $prev) = array_slice($entries, $curIndex, 2);
135 return array('prev' => $prev, 'cur' => $cur, 'next' => $next);
145 foreach(array('prev', 'next') as $type) {