/** * remove a property that has been added before * * @param string $key the uri */ public function removeShownProperty($property, $inverse) { $key = $property . '-' . ($inverse ? 'inverse' : 'direct'); if (isset($this->_shownProperties[$key])) { $prop = $this->_shownProperties[$key]; $this->_valueQuery->removeProjectionVar($prop['var']); $prop['optionalpart']->remove($this->_valueQuery); //$prop['filter']->remove($this->_resourceQuery); unset($this->_shownProperties[$key]); return true; } else { return false; } }