You are here

function crumbs_TrailCache::getForPath in Crumbs, the Breadcrumbs suite 7.2

Parameters

$path:

Return value

mixed

File

lib/TrailCache.php, line 33

Class

crumbs_TrailCache
Class crumbs_Container_LazyTrails

Code

function getForPath($path) {
  if (!isset($this->data[$path])) {
    $this->data[$path] = $this->source
      ->getForPath($path);
  }
  return $this->data[$path];
}