status_map = array( "normal" => "topic.png", "hot" => "hot.png", "sticky" => "sticky.png", "closed" => "locked.png", "resolved" => "resolved.png", "not-resolved" => "not-resolved.png", "non-issue" => "non-issue.png", ); $this->status_description_map = array( "normal" => "", "hot" => "Very Busy Topic", "sticky" => "Sticky Topic", "closed" => "Closed Topic", "resolved" => "Resolved Issue", "not-resolved" => "Open Issue", "non-issue" => "Not an Issue", ); } public function renderStatus($status) { return $this->status_map[$status]; } public function renderStatusTooltip($status) { return $this->status_description_map[$status]; } } ?>