public function clearPermCacheFor($nodeStr)
    {
        if (!$nodeStr) {
            return;
        }

        if (is_object($nodeStr)) {
            $nodeStr = $this->idStr($nodeStr);
        }

        $key = self::ITEM_PREFIX . $nodeStr;
        $this->getCache()->remove($key);

        $this->clearSourcesCache($nodeStr);
    }
public function clearPermCacheFor($nodeStr)
    {
        if (!$nodeStr) {
            return;
        }

        if (is_object($nodeStr)) {
            $nodeStr = $this->idStr($nodeStr);
        }

        $key = self::ITEM_PREFIX . $nodeStr;
        $this->getCache()->remove($key);

        $this->clearSourcesCache($nodeStr);
    }
public function clearPermCacheFor ( $ nodeStr ) { if ( ! $ nodeStr ) { return ; } if ( is_object ( $ nodeStr ) ) { $ nodeStr = $ this -> idStr ( $ nodeStr ) ; } $ key = self :: ITEM_PREFIX . $ nodeStr ; $ this -> getCache ( ) -> remove ( $ key ) ; $ this -> clearSourcesCache ( $ nodeStr ) ; }
Clear any cached permissions for this object

@param DataObject $item
@param type $perm
Clear any cached permissions for this object