data = $datarow; } function author() { $authorid = $this->data['smcreatorid']; if(!isset(self::$ownerNamesCache[$authorid])) { self::$ownerNamesCache[$authorid] = getOwnerName($authorid); } return self::$ownerNamesCache[$authorid]; } function timestamp(){ $date = new DateTimeField($this->data['modifiedtime']); return $date->getDisplayDateTimeValue(); } function content() { return decode_html($this->data['commentcontent']); } }