You are here

function crumbs_RuleWeightKeeper::prefixedWeightKeeper in Crumbs, the Breadcrumbs suite 7

Same name and namespace in other branches
  1. 6.2 crumbs.plugin_engine.inc \crumbs_RuleWeightKeeper::prefixedWeightKeeper()

File

lib/RuleWeightKeeper.php, line 16

Class

crumbs_RuleWeightKeeper

Code

function prefixedWeightKeeper($prefix) {
  if (!isset($this->prefixedKeepers[$prefix])) {
    $this->prefixedKeepers[$prefix] = $this
      ->_buildPrefixedWeightKeeper($prefix);
  }
  return $this->prefixedKeepers[$prefix];
}