public function toArray() { $result = array(); foreach ($this->getRecordTableInfo()->getLowerCaseColumnNames() as $columnName) { $result[$columnName] = $this->getColumnValue($columnName); } return $result; }