Lines Matching refs:leaf

558   function setMeta($group, $subgroup, $leaf, $leafvalue = NULL)  argument
560 $ret = $this->_container->setMeta($group, $subgroup, $leaf, $leafvalue);
572 !in_array($leaf, $this->_cache[$group]['childs'][$subgroup]['value']))
574 $this->_cache[$group]['childs'][$subgroup]['value'][] = $leaf;
577 $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['value'] = array($leafvalue);
578 $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['timestamp'] = array(time());
593 function getMeta($group, $subgroup = null, $leaf = null, $withleafvalue = false) argument
608 else if ($leaf == null &&
618 if (isset($this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['value']))
621 $ret = $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf];
626 if (isset($this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['timestamp']))
629 $ret = $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf];
644 $ret = $this->_container->getMeta($group, $subgroup, $leaf, $withleafvalue);
654 else if ($leaf == null)
662 $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['value'] = $ret['value'];
664 unset($this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['value']);
665 … $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['timestamp'] = $ret['timestamp'];
680 function incMeta($group, $subgroup, $leaf) argument
682 $ret = $this->_container->incMeta($group, $subgroup, $leaf);
694 !in_array($leaf, $this->_cache[$group]['childs'][$subgroup]['value']))
696 $this->_cache[$group]['childs'][$subgroup]['value'][] = $leaf;
699 $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['value'] = $ret['value'];
700 $this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]['timestamp'] = array(time());
713 function rmMeta($group, $subgroup = null, $leaf = null) argument
722 else if ($leaf == null)
739 $i = array_search($leaf,$this->_cache[$group]['childs'][$subgroup]['value']);
746 unset($this->_cache[$group]['childs'][$subgroup]['childs'][$leaf]);
750 return $this->_container->rmMeta($group, $subgroup, $leaf);