You are here

function crumbs_ParentFinder::getLoggedCandidates in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 6.2 crumbs.trail.inc \crumbs_ParentFinder::getLoggedCandidates()

File

lib/ParentFinder.php, line 31

Class

crumbs_ParentFinder
Can find a parent path for a given path. Contains a cache.

Code

function getLoggedCandidates($path) {
  if (is_array($this->log[$path])) {
    return $this->log[$path];
  }
  else {
    return array();
  }
}