This page will inform you about active deprecations in the system.
CONTENIDO has two different types of deprecations:
Normally, a deprecation raises an log entry in the file deprecatedlog.txt. This behaviour can be turned off via configuration. For some deprecations (such as JS functions), a deprecation logging can't be provided. Also some of the key core functions which were called a lot, do not write an entry in the log file (silent deprecation).
This table is not completed yet. |
Scope | Description of resource | Alternative usage | Deprecation type |
---|---|---|---|
Class method | cDirHandler::fileNameIsDot | cFileHandler::fileNameIsDot | |
Class method | cFileHandler::recursiveRmdir | cDirHandler::recursiveRmdir | |
Class method | cFileHandler::recursiveCopy | cDirHandler::recursiveCopy | |
Class method | cFileHandler::isDirectoryEmpty | cDirHandler::isDirectoryEmpty | |
Class method | cFileHandler::setDefaultDirPerms | cDirHandler::setDefaultDirPerms | |
Class method | cApiDbfsCollection::file_exists | cApiDbfsCollection::fileExists | |
Class method | cApiDbfsCollection::dir_exists | cApiDbfsCollection::dirExists | |
Class method | cApiDbfsCollection::parent_dir | cApiDbfsCollection::parentDir | |
Class | Contenido_Backend_SmartyWrapper | cSmartyBackend | |
Class | Contenido_SmartyWrapper | cSmartyFrontend |
Scope | Description of resource | Alternative usage | Deprecation type |
---|---|---|---|
JavaScript function | leave_check | leaveCheck | |
Global context function | global context function endsWith | cString::endsWith | |
Global context function | setHelpContext | getJsHelpContext | |
Global context function | modTestModule | None. | |
Class method | cApiContainerCollection::assignModul() | cApiContainerCollection::assignModule() |
Scope | Description of resource | Alternative usage | Deprecation type |
---|---|---|---|
Global context function | addslashes_deep | cString::addSlashes() | |
Global context function | stripslashes_deep | cString::stripSlashes() | |
Class property | cApiAction::$_objectInvalid | None. | |
Old usage | Using field type.code | Move code to filesystem | |
Old usage | Adding JavaScript code to cGuiPage | Move code to files and include. |