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