type = $t; $this->reference = $ref; $this->caption = $c; $this->id = $id; switch ($this->type) { case "Questionnaire": $this->imageURL = "images/icons/questionnaire.png"; break; case "Dashboard": $this->imageURL = "images/icons/dashboard.png"; break; case "Application": $this->imageURL = "images/icons/application.png"; break; default: $this->imageURL = null; break; } //output a display object //echo '
'.$this->caption.'
'."\n"; echo '
' . $this->caption . '
'; } } ?>