/** * Checks if the given property is predefined by SMWHalo * @param SMWPropertyValue $property */ function smwfCheckIfPredefinedSMWHaloProperty(SMWPropertyValue $property) { if (smwfGetSemanticStore()->domainRangeHintRelation->getDBkey() == $property->getDBkey() || smwfGetSemanticStore()->minCard->getDBkey() == $property->getDBkey() || smwfGetSemanticStore()->maxCard->getDBkey() == $property->getDBkey() || smwfGetSemanticStore()->inverseOf->getDBkey() == $property->getDBkey()) { return true; } return false; }