Lines Matching refs:entries
86 // get the blog entries for the namespace
88 $entries = $my->getBlog($namespace);
90 if (!$entries)
94 $entries = array_values($entries);
119 $curIndex = array_search($curPage, $entries);
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);
130 list ($cur, $prev) = array_slice($entries, $curIndex, 2);
132 list ($next, $cur) = array_slice($entries, $curIndex -1, 2);
139 * Prints the links to the related entries