/** * Checks a decimal element of the record data array for existence and a * value != 0.00. 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 decimal value exists * and is not 0.00 */ private function hasTopicDecimal($key) { $result = FALSE; if ($this->isTopicOkay()) { $result = $this->topic->hasRecordPropertyDecimal($key); } else { $result = $this->hasRecordPropertyDecimal($key); } return $result; }