---
title: "Breaking: #62038 - Deprecated DocumentTemplate functionality"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-62038"
source: "Changelog/7.0/Breaking-62038-RemovedDocumentTemplateOptions.rst"
typo3-version: "7.0"
typo3-major: 7
type: "breaking"
issue: 62038
forge: "https://forge.typo3.org/issues/62038"
tags: ["PHP-API", "Backend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Breaking: #62038 - Deprecated DocumentTemplate functionality {#breaking-62038}

See [forge#62038](https://forge.typo3.org/issues/62038)

## Description {#description}

The Backend/DocumentTemplate class contains various options that have no effect in the core anymore:

`$doc->JScodeLibArray`
`$doc->docType` (as rendering is always as HTML5 by default)
`$doc->inDocStyles` (use inDocStylesArray)
`$doc->inDocStyles_TBEstyle` (now used as inDocStylesArray\[tbeStyle\]
`$doc->charset` (always utf-8)

The methods `$doc->formatTime()` and `$doc->menuTable()` have also
been deprecated as they are not used anymore.

## Impact {#impact}

Extensions that still use the properties of DocumentTemplate will not see any changes in the output
of the code anymore.

## Affected installations {#affected-installations}

A TYPO3 instance is affected if a 3rd party extension uses the unused variables.

## Migration {#migration}

The variables can be removed safely, any modifications is possible via hooks in DocumentTemplate.
