/** * Checks a string element of the record data array for existence and * non-emptiness. If we are a date record, it'll be retrieved from the * corresponding topic record. * * @param string $key key of the element to check * * @return bool TRUE if the corresponding string exists and is non-empty */ private function hasTopicString($key) { $result = FALSE; if ($this->isTopicOkay()) { $result = $this->topic->hasRecordPropertyString($key); } else { $result = $this->hasRecordPropertyString($key); } return $result; }