Lines Matching refs:next
4 * Bloglinks Plugin: displays a link to the previous and the next blog entry above posts in configured namespaces
38 if (isset ($relatedEntries['next'])) {
40 'rel' => 'next',
41 'href' => wl($relatedEntries['next']['id'], '')
121 // Initialize prev, cur and next with null
124 $next = null;
126 // get previous and next entries
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);
131 } else { // only got a next
132 list ($next, $cur) = array_slice($entries, $curIndex -1, 2);
135 return array('prev' => $prev, 'cur' => $cur, 'next' => $next);
145 foreach(array('prev', 'next') as $type) {