protected function crumbs_PluginOperation_findForPath::_setValue in Crumbs, the Breadcrumbs suite 7
1 call to crumbs_PluginOperation_findForPath::_setValue()
- crumbs_PluginOperation_findForPath::invoke in lib/
PluginOperation/ findForPath.php - This should run once for each plugin object. It should be called by the PluginEngine, during invokeUntilFound().
File
- lib/
PluginOperation/ findForPath.php, line 93
Class
Code
protected function _setValue($key, $value, $weight) {
if ($weight !== FALSE) {
if (!isset($this->candidateWeight) || $weight < $this->candidateWeight) {
$this->candidateWeight = $weight;
$this->candidateValue = $value;
$this->candidateKey = $key;
}
}
$this->log[$key] = array(
$value,
$weight,
);
}