Deprecated
Table of Contents
API.php
| Line | Element | Reason |
|---|---|---|
| 55 | contrexx_isCoreModule() | |
| 73 | contrexx_isModuleActive() | |
| 91 | contrexx_isModuleInstalled() | |
| 128 | getPaging() |
SystemConfig.class.php
| Line | Element | Reason |
|---|---|---|
| 170 | SystemConfig::getBaseConfig() | Use static::getBaseConfigString() or static::getBaseConfigInt() instead. |
| 211 | SystemConfig::fixPathConfig() | See CLX-4284 |
ContentManager.class.php
| Line | Element | Reason |
|---|---|---|
| 682 | ContentManager::getLiteralComponentName() | This should be get from component directly |
| 698 | ContentManager::getComponentIcon() | This should be get from component directly |
Page.class.php
| Line | Element | Reason |
|---|---|---|
| 88 | Page::PLACEHOLDER_PREFIX | Use NodePlaceholder::... directly instead |
| 94 | Page::NODE_URL_PCRE | Use NodePlaceholder::... directly instead |
| 101 | Page::NODE_URL_PLACEHOLDER | Use NodePlaceholder::... directly instead |
| 108 | Page::NODE_URL_NODE_ID | Use NodePlaceholder::... directly instead |
| 115 | Page::NODE_URL_MODULE | Use NodePlaceholder::... directly instead |
| 122 | Page::NODE_URL_CMD | Use NodePlaceholder::... directly instead |
| 129 | Page::NODE_URL_LANG_ID | Use NodePlaceholder::... directly instead |
Cx.class.php
| Line | Element | Reason |
|---|---|---|
| 1670 | Cx::getComponent() | All new classes should have access to $this->getComponent() |
AdminNavigation.class.php
| Line | Element | Reason |
|---|---|---|
| 50 | AdminNavigation | This will be replaced by using the same mechanism as in frontend |
SystemComponentBackendController.class.php
| Line | Element | Reason |
|---|---|---|
| 675 | SystemComponentBackendController::showOverviewPage() | Use showSplash() instead |
Sigma.class.php
| Line | Element | Reason |
|---|---|---|
| 163 | Sigma::setParseTarget() | Set parse target on initialization |
| 515 | Sigma::getChildrenOfBlock() | Do not use. Sigma is unable to parse only blocks contained within a block. This is a work-around. Nice solution would be to make parse() aware of the structure (which would lead to a lot of refactoring). This is only used for MediaDir Inputfields. Known use-case is the "multiple rows" feature, but there might be more cases in MediaDir where this fixes problems. |
Html.class.php
| Line | Element | Reason |
|---|---|---|
| 51 | Html | This class is deprecated in favor of using Sigma or \Cx\Core\Html\Model\Entity... |
Init.class.php
| Line | Element | Reason |
|---|---|---|
| 1155 | InitCMS::getUriBy() | Use |
| 1181 | InitCMS::_is_mobile_phone() | Use \Cx\Core\Routing\Model\Entity\Request::isMobilePhone() instead |
| 1249 | InitCMS::_is_tablet() | Use \Cx\Core\Routing\Model\Entity\Request::isTablet() instead |
JsonData.class.php
| Line | Element | Reason |
|---|---|---|
| 97 | JsonData::addAdapter() | Use component framework instead (SystemComponentController->getControllersAccessableByJson()) |
| 58 | JsonData::$adapter_classes | Use component framework instead (SystemComponentController->getControllersAccessableByJson()) |
ComponentController.class.php
| Line | Element | Reason |
|---|---|---|
| 324 | ComponentController::getLocaleIdsMatchingByBackendId() | Instead of magically mapping backend languages with frontend locales, you must fix your model. |
MailTemplate.class.php
| Line | Element | Reason |
|---|---|---|
| 1049 | MailTemplate::overview() | Do not use directly. Use adminView() instead. |
| 1211 | MailTemplate::edit() | Do not use directly. Use adminView() instead. |
MediaSourceManager.class.php
| Line | Element | Reason |
|---|---|---|
| 127 | MediaSourceManager::getLockedMediaType() | This method must not be used outside MediaSource itself! |
IndexerSearchResultEventListener.class.php
| Line | Element | Reason |
|---|---|---|
| 49 | IndexerSearchResultEventListener | Each component should return it's own indexer results instead! |
YamlRepository.class.php
| Line | Element | Reason |
|---|---|---|
| 70 | YamlRepository | Do not use anymore or at least not until the storage format has been changed (see @todo). |
Db.class.php
| Line | Element | Reason |
|---|---|---|
| 232 | Db::getAdoDb() | Use Doctrine (getEntityManager()) instead |
| 272 | Db::cxAdodbPdoConnectionFactory() | Use Doctrine! |
LogEntryRepository.class.php
| Line | Element | Reason |
|---|---|---|
| 237 | LogEntryRepository::getLogEntriesCount() | As soon as CLX-1776 is implemented use getLogEntries() instead |
Navigation.class.php
| Line | Element | Reason |
|---|---|---|
| 53 | Navigation | Use \Cx\Core\PageTree directly instead |
Url.class.php
| Line | Element | Reason |
|---|---|---|
| 342 | Url::setMode() | Use Url::isFrontend() or Url::isBackend() instead. |
| 481 | Url::getMode() | Use Url::isFrontend() or Url::isBackend() instead. |
Sorting.class.php
| Line | Element | Reason |
|---|---|---|
| 50 | Sorting | Use ViewGenerator instead |
Tree.class.php
| Line | Element | Reason |
|---|---|---|
| 54 | ContentTree | Use PageTree instead |
Group.class.php
| Line | Element | Reason |
|---|---|---|
| 111 | Group::getGroupId() | |
| 123 | Group::setGroupName() | |
| 135 | Group::getGroupName() | |
| 147 | Group::setGroupDescription() | |
| 159 | Group::getGroupDescription() | |
| 171 | Group::setIsActive() | |
| 183 | Group::getIsActive() | |
| 254 | Group::getUser() |
User.class.php
| Line | Element | Reason |
|---|---|---|
| 686 | User::getGroup() |
Cache.interface.php
| Line | Element | Reason |
|---|---|---|
| 73 | Cache::STATS_MEMORY_AVAILIABLE |
Contact.class.php
| Line | Element | Reason |
|---|---|---|
| 1450 | Contact::getLegacyError() | Used for legacy output of placeholder CONTACT_FEEDBACK_TEXT. Superseded by static::getErrorMessages(). |
LegacyYamlInterface.class.php
| Line | Element | Reason |
|---|---|---|
| 45 | LegacyYamlInterface | Use YamlInterface instead. This is onlyused for YamlRepository. |
MediaLibrary.class.php
| Line | Element | Reason |
|---|---|---|
| 611 | MediaLibrary::getFileTypeIconWebPath() |
Cookie.class.php
| Line | Element | Reason |
|---|---|---|
| 167 | Cookie::setComponent() | This should be solved differently, see schema file |
| 177 | Cookie::getComponent() | This should be solved differently, see schema file |
ComponentController.class.php
| Line | Element | Reason |
|---|---|---|
| 964 | ComponentController::useHackForCalendar() | Will be dropped by CLX-3974 |
Import.class.php
| Line | Element | Reason |
|---|---|---|
| 40 | Import | Do not use this. Use ViewGenerator instead. |
DBG.php
| Line | Element | Reason |
|---|---|---|
| 767 | DBG::msg() | Use DBG::log() or DBG::debug() instead |
| 1008 | DBG::getMemoryLogs() | Use DBG::getLogsFromStream() instead. |
| 1044 | DBG::appendLogs() | Use DBG::appendLogsToStreams() instead |
File.class.php
| Line | Element | Reason |
|---|---|---|
| 57 | File | deprecated since 3.0.0 |
FileSystem.class.php
| Line | Element | Reason |
|---|---|---|
| 186 | FileSystem::copyDir() | Use static::copy_folder() instead. |
| 234 | FileSystem::copyFile() | Use File::copy() instead. |
| 265 | FileSystem::delFile() | Use File::delete() instead. |
| 420 | FileSystem::callEventStatic() | Use non-static method instead |
FileSystemFile.class.php
| Line | Element | Reason |
|---|---|---|
| 64 | FileSystemFile | This will be merged with File and then removed. Do not use directly! Having two separate classes was necessary to implement transparent file operations via FTP, which is no longer supported. |
Language.class.php
| Line | Element | Reason |
|---|---|---|
| 38 | FWLanguage | Use \Cx\Core\Locale instead |
Url.class.php
| Line | Element | Reason |
|---|---|---|
| 284 | Url::getParamArray() | Use getParsedQuery() instead |
| 292 | Url::removeAllParams() | Use setQuery('') instead |
Validator.class.php
| Line | Element | Reason |
|---|---|---|
| 47 | VALIDATOR_REGEX_EMAIL | |
| 57 | VALIDATOR_REGEX_EMAIL_JS | |
| 69 | VALIDATOR_REGEX_URI_PROTO | |
| 79 | VALIDATOR_REGEX_URI | |
| 91 | VALIDATOR_REGEX_URI_JS |
Block.class.php
| Line | Element | Reason |
|---|---|---|
| 178 | Block::setCategoryBlock() | |
| 232 | Block::setBlockRandom() | |
| 284 | Block::setBlockGlobal() |
JsonBlockController.class.php
| Line | Element | Reason |
|---|---|---|
| 545 | JsonBlockController::getCategoryBlockContent() | |
| 775 | JsonBlockController::getGlobalBlockContent() | |
| 1014 | JsonBlockController::getRandomBlockContent() |
CalendarMailManager.class.php
| Line | Element | Reason |
|---|---|---|
| 724 | CalendarMailManager::getMatchingMailListLocaleIdByBackendId() | Migrate mailList to MailTemplate (see CLX-4305) once MailTemplate supports backend languages too (see CLX-4307). |
BackendController.class.php
| Line | Element | Reason |
|---|---|---|
| 71 | BackendController::showOverviewPage() | In favor of showSplash() |