public static function isValid(&$properties_dictionary, $limit_to_keys, &$error) { // Check each property is valid // if (!parent::isValid($properties_dictionary, $limit_to_keys, $error)) { return false; } if (ValidationC::should_test_property(EVENT_SPACE_TIME_OCCURRENCE_RELATIONSHIP_NAME_RANGE, $properties_dictionary, false, $limit_to_keys) && !Range::isValid($properties_dictionary[EVENT_SPACE_TIME_OCCURRENCE_RELATIONSHIP_NAME_RANGE], $limit_to_keys, $error)) { // Attendees range was not valid // return false; } return true; }