public static function getHeader($contentTypeId) { $contentTypes = self::getTypes(); if (isset($contentTypes[$contentTypeId])) { return $contentTypes[$contentTypeId]; } else { return null; } }