예제 #1
0
 /**
  * Gets an element of the record data array, converted to a boolean.
  * If the array has not been initialized properly, FALSE is returned.
  *
  * If we are a date record, it'll be retrieved from the corresponding topic
  * record.
  *
  * @param string $key the name of the field to retrieve
  *
  * @return bool the corresponding element from the record data array
  */
 private function getTopicBoolean($key)
 {
     return $this->isTopicOkay() ? $this->topic->getRecordPropertyBoolean($key) : $this->getRecordPropertyBoolean($key);
 }