public function setContentType($type) { $this->contentType = $type; $this->context = NULL; return $this; }