- /** Return the cache entry for a plugin at a specified position
- *
- * @param $cache
- * @param $barrel
- * @param $page
- * @param $pos
- */
- function cacheGetAtPos($cache, $barrel, $page, $pos)
- {
- $p_node = $this->cacheGetPageNode($cache, $barrel, $page);
- foreach ($p_node->data as $plugname => $plugentry)
- {
- if ($plugentry['pos'] == $pos)
- {
- $plugentry['plugin'] = $plugname;
- return $plugentry;
- }
- }
- }
-
-