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