예제 #1
0
 /**
  * Checks a integer 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 integer exists and is non-empty
  */
 protected function hasTopicInteger($key)
 {
     $result = FALSE;
     if ($this->isTopicOkay()) {
         $result = $this->topic->hasRecordPropertyInteger($key);
     } else {
         $result = $this->hasRecordPropertyInteger($key);
     }
     return $result;
 }