Bitrix API

Deprecated

Table of Contents

source/calendar/lib/internals/pushtable.php
source/calendar/lib/sync/googleapipush.php
source/calendar/lib/sync/googleapisync.php
source/calendar/lib/sync/googleapitransport.php
source/catalog/lib/discount/discountmanager.php
source/catalog/lib/product/sku.php
source/catalog/lib/product.php
source/catalog/lib/subscribe.php
source/crm/classes/general/crm_company.php
source/crm/classes/general/crm_contact.php
source/crm/classes/general/crm_deal.php
source/crm/classes/general/crm_invoice.php
source/crm/classes/general/crm_lead.php
source/crm/classes/general/crm_quote.php
source/crm/lib/automation/engine/entity/template.php
source/crm/lib/automation/engine/template.php
source/crm/lib/automation/factory.php
source/crm/lib/category/dealcategory.php
source/crm/lib/color/dealstagecolorscheme.php
source/crm/lib/color/leadstatuscolorscheme.php
source/crm/lib/color/phasecolorscheme.php
source/crm/lib/color/quotestatuscolorscheme.php
source/crm/lib/entityaddress.php
source/crm/lib/entityrequisite.php
source/crm/lib/integrity/duplicateindextype.php
source/crm/lib/kanban/supervisor.php
source/crm/lib/relation.php
source/crm/lib/requisiteaddress.php
source/crm/lib/settings/quotesettings.php
source/currency/lib/currency.php
source/fileman/lib/block/editor.php
source/iblock/classes/general/comp_pricetools.php
source/iblock/classes/general/iblock.php
source/iblock/classes/general/iblockproperty.php
source/iblock/classes/mysql/cml2.php
source/iblock/lib/model/propertyfeature.php
source/imopenlines/lib/tracker.php
source/intranet/lib/userabsence.php
source/intranet/lib/util.php
source/main/classes/general/database.php
source/main/classes/general/dbresult.php
source/main/classes/general/file.php
source/main/classes/general/main.php
source/main/classes/general/site.php
source/main/classes/general/time.php
source/main/classes/general/user.php
source/main/classes/general/usertypebool.php
source/main/classes/general/usertypedate.php
source/main/classes/general/usertypedbl.php
source/main/classes/general/usertypeelement.php
source/main/classes/general/usertypeenum.php
source/main/classes/general/usertypefile.php
source/main/classes/general/usertypeint.php
source/main/classes/general/usertypesection.php
source/main/classes/general/usertypestr.php
source/main/classes/general/usertypetime.php
source/main/classes/general/usertypeurl.php
source/main/classes/general/util.php
source/main/lib/application.php
source/main/lib/config/configuration.php
source/main/lib/data/cache.php
source/main/lib/db/connection.php
source/main/lib/db/paginator.php
source/main/lib/db/sqlhelper.php
source/main/lib/diag/exceptionhandlerformatter.php
source/main/lib/engine/actionfilter/postdecode.php
source/main/lib/engine/binder.php
source/main/lib/engine/response/zip/archiveentry.php
source/main/lib/eventresult.php
source/main/lib/finderdest.php
source/main/lib/grid/grid.php
source/main/lib/io/fileentry.php
source/main/lib/loader.php
source/main/lib/orm/entity.php
source/main/lib/orm/fields/expressionfield.php
source/main/lib/orm/fields/field.php
source/main/lib/page/asset.php
source/main/lib/service/geoip/manager.php
source/main/lib/text/binarystring.php
source/main/lib/text/encoding.php
source/main/lib/text/utfconverter.php
source/main/lib/urlpreview/urlpreview.php
source/main/lib/user.php
source/main/lib/userutils.php
source/main/lib/web/postdecodefilter.php
source/main/lib/web/uri.php
source/sale/lib/basketbase.php
source/sale/lib/basketitembase.php
source/sale/lib/basketitemcollection.php
source/sale/lib/basketpropertiesbase.php
source/sale/lib/businessvalue.php
source/sale/lib/delivery/extra_services/base.php
source/sale/lib/delivery/extra_services/manager.php
source/sale/lib/delivery/services/manager.php
source/sale/lib/delivery/services/table.php
source/sale/lib/discount/preset/basepreset.php
source/sale/lib/discount.php
source/sale/lib/fuser.php
source/sale/lib/internals/input.php
source/sale/lib/internals/orderdiscount.php
source/sale/lib/internals/orderprops.php
source/sale/lib/internals/orderround.php
source/sale/lib/order.php
source/sale/lib/orderbase.php
source/sale/lib/orderdiscountmanager.php
source/sale/lib/paysystem/logger.php
source/sale/lib/pricemaths.php
source/sale/lib/propertyvaluebase.php
source/sale/lib/propertyvaluecollectionbase.php
source/sale/lib/shipment.php
source/sender/lib/connector/manager.php
source/sender/lib/postingmanager.php
source/sender/lib/subscription.php
source/seo/lib/engine/yandexdirectlive.php
source/tasks/lib/access/rule/taskacceptrule.php
source/tasks/lib/access/rule/taskdeclinerule.php
source/tasks/lib/access/rule/taskresulteditrule.php
source/tasks/lib/internals/counter/agent.php
source/tasks/lib/internals/counter.php
source/tasks/lib/internals/database/tree.php
source/tasks/lib/internals/helper/task/template/access.php
source/tasks/lib/internals/searchindex.php
source/tasks/lib/internals/task/viewed.php
source/tasks/lib/internals/useroption.php
source/tasks/lib/item/task/template.php
source/tasks/lib/item/task.php
source/transformer/lib/filetransformer.php
source/transformer/lib/http.php

pushtable.php

Line Element Reason
48 PushTable

googleapipush.php

Line Element Reason
15 GoogleApiPush

Old API

504 GoogleApiPush::checkPushChannel()
741 GoogleApiPush::deletePushChannel()
873 GoogleApiPush::getConnectionPushByConnectionId()
888 GoogleApiPush::setBlockPush()
910 GoogleApiPush::setUnblockPush()
934 GoogleApiPush::setUnprocessedPush()
958 GoogleApiPush::getPush()

googleapisync.php

Line Element Reason
23 GoogleApiSync

Class GoogleApiSync

googleapitransport.php

Line Element Reason
24 GoogleApiTransport

Class GoogleApiTransport

discountmanager.php

Line Element Reason
310 DiscountManager::roundPrice()

sku.php

Line Element Reason
185 Sku::updateAvailable()

deprecated since catalog 17.6.0

product.php

Line Element Reason
620 ProductTable::isExistProduct()

deprecated since catalog 20.100.0

640 ProductTable::clearProductCache()

deprecated since catalog 20.100.0

subscribe.php

Line Element Reason
328 SubscribeTable::onProductUpdate()

deprecated since catalog 17.6.0 Method for send a notification to subscribers about positive change available.

crm_company.php

Line Element Reason
3116 CAllCrmCompany::CheckCreatePermission()
3125 CAllCrmCompany::CheckUpdatePermission()
3134 CAllCrmCompany::CheckDeletePermission()
3143 CAllCrmCompany::CheckReadPermission()
3152 CAllCrmCompany::CheckImportPermission()
3161 CAllCrmCompany::CheckExportPermission()

crm_contact.php

Line Element Reason
3199 CAllCrmContact::GetContactByCompanyID()
3212 CAllCrmContact::UpdateCompanyID()
3479 CAllCrmContact::CheckCreatePermission()
3488 CAllCrmContact::CheckUpdatePermission()
3497 CAllCrmContact::CheckDeletePermission()
3506 CAllCrmContact::CheckReadPermission()
3515 CAllCrmContact::CheckImportPermission()
3524 CAllCrmContact::CheckExportPermission()

crm_deal.php

Line Element Reason
4553 CAllCrmDeal::calculateDeliveryTotal()

Collects sum of shipments from orders related to deal $id

4585 CAllCrmDeal::GetPermittedToCreateCategoryIDs()
4598 CAllCrmDeal::GetPermittedToReadCategoryIDs()
4611 CAllCrmDeal::GetPermittedToUpdateCategoryIDs()
4624 CAllCrmDeal::CheckCreatePermission()
4637 CAllCrmDeal::CheckUpdatePermission()
4650 CAllCrmDeal::CheckDeletePermission()
4663 CAllCrmDeal::CheckReadPermission()
4676 CAllCrmDeal::CheckImportPermission()
4689 CAllCrmDeal::CheckExportPermission()
5490 CAllCrmDeal::RebuildStatistics()
5645 CAllCrmDeal::ProcessStatusModification()
5670 CAllCrmDeal::ProcessStatusDeletion()

crm_invoice.php

Line Element Reason
2142 CAllCrmInvoice::CheckCreatePermission()
2151 CAllCrmInvoice::CheckUpdatePermission()
2160 CAllCrmInvoice::CheckDeletePermission()
2169 CAllCrmInvoice::CheckReadPermission()
38 CAllCrmInvoice::$cPerms

crm_lead.php

Line Element Reason
4119 CAllCrmLead::CheckImportPermission()
4128 CAllCrmLead::CheckCreatePermission()
4137 CAllCrmLead::CheckUpdatePermission()
4146 CAllCrmLead::CheckDeletePermission()
4155 CAllCrmLead::CheckReadPermission()
4637 CAllCrmLead::RebuildStatistics()
4917 CAllCrmLead::ProcessStatusModification()
4937 CAllCrmLead::ProcessStatusDeletion()

crm_quote.php

Line Element Reason
2452 CAllCrmQuote::LocalComponentCausedUpdater()

This method is useless. Remove its calls.

2518 CAllCrmQuote::CheckCreatePermission()
2527 CAllCrmQuote::CheckUpdatePermission()
2536 CAllCrmQuote::CheckDeletePermission()
2545 CAllCrmQuote::CheckReadPermission()
4485 CCrmQuoteStorageType

Please use \Bitrix\Crm\Integration\StorageType

template.php

Line Element Reason
25 TemplateTable

template.php

Line Element Reason
19 Template

factory.php

Line Element Reason
417 Factory::createRuntime()

dealcategory.php

Line Element Reason
1032 DealCategory::removeColorScheme()
1171 DealCategory::setPermissionById()

Possible can damage existed permissions. Do not use!

dealstagecolorscheme.php

Line Element Reason
10 DealStageColorScheme

leadstatuscolorscheme.php

Line Element Reason
10 LeadStatusColorScheme

phasecolorscheme.php

Line Element Reason
72 PhaseColorScheme::isPersistent()

quotestatuscolorscheme.php

Line Element Reason
10 QuoteStatusColorScheme

entityaddress.php

Line Element Reason
127 EntityAddress::isDefined()

Use method of EntityAddressType

904 EntityAddress::resolveEntityFieldTypeID()

Old functionality

1599 EntityAddress::getTypeInfos()

Use method of EntityAddressType

1687 EntityAddress::getClientTypeInfos()

Use methods of EntityAddressType

1697 EntityAddress::getTypeDescription()

Use method of EntityAddressType

1714 EntityAddress::getTypeLabels()

Use method of EntityAddressType

1729 EntityAddress::getFullAddressLabel()

Use method of EntityAddressType

2328 EntityAddress::prepareJsonValue()

Does nothing.

18 EntityAddress::Undefined

Use constants of EntityAddressType

20 EntityAddress::Primary

Use constants of EntityAddressType

22 EntityAddress::Secondary

Use constants of EntityAddressType

24 EntityAddress::Third

Use constants of EntityAddressType

26 EntityAddress::Home

Use constants of EntityAddressType

28 EntityAddress::Work

Use constants of EntityAddressType

30 EntityAddress::Registered

Use constants of EntityAddressType

32 EntityAddress::Custom

Use constants of EntityAddressType

34 EntityAddress::Post

Use constants of EntityAddressType

36 EntityAddress::Beneficiary

Use constants of EntityAddressType

38 EntityAddress::Bank

Use constants of EntityAddressType

40 EntityAddress::Delivery

Use constants of EntityAddressType

43 EntityAddress::First

Use constants of EntityAddressType

45 EntityAddress::Last

Use constants of EntityAddressType

entityrequisite.php

Line Element Reason
7701 EntityRequisite::importEntityRequisite()

Moved to Requisite\ImportHelper::importOldRequisiteAddresses.

duplicateindextype.php

Line Element Reason
695 DuplicateIndexType::getSupportedTypes()

since 16.2.0

supervisor.php

Line Element Reason
26 SupervisorTable

Class SupervisorTable

DO NOT WRITE ANYTHING BELOW THIS

<<< ORMENTITYANNOTATION

relation.php

Line Element Reason
29 Relation::create()

requisiteaddress.php

Line Element Reason
56 RequisiteAddress::resolveEntityFieldTypeID()

Use methods of EntityAddressType and EntityAddress

72 RequisiteAddress::getTypeInfos()

Use methods of EntityAddressType and EntityAddress

88 RequisiteAddress::getTypesList()

Use methods of EntityAddressType and EntityAddress

108 RequisiteAddress::getDefaultTypeId()

Use methods of EntityAddressType and EntityAddress

118 RequisiteAddress::getClientTypeInfos()

Use methods of EntityAddressType and EntityAddress

134 RequisiteAddress::getTypeDescription()

Use methods of EntityAddressType and EntityAddress

quotesettings.php

Line Element Reason
63 QuoteSettings::getCurrentListViewID()

Use \Bitrix\Crm\Service\Router::getCurrentListView instead

74 QuoteSettings::getDefaultListViewID()

Use \Bitrix\Crm\Service\Factory::getDefaultListView instead

84 QuoteSettings::setDefaultListViewID()

Use \Bitrix\Crm\Service\Factory::setDefaultListView instead

currency.php

Line Element Reason
147 CurrencyTable::currencyBaseRateAgent()

deprecated since currency 16.0.0

editor.php

Line Element Reason
1171 Editor::fillTemplateBySliceContent()
1186 Editor::fillDocumentBySliceContent()

comp_pricetools.php

Line Element Reason
1743 CIBlockPriceTools::GetDefaultMeasure()

since 14.5.0

iblock.php

Line Element Reason
3031 CAllIBlock::_GetProductUrl()
3938 CAllIBlock::GetAdminSectionEditLink()
3981 CAllIBlock::GetAdminElementEditLink()
4051 CAllIBlock::GetAdminElementListLink()
4081 CAllIBlock::GetAdminElementListScriptName()
4118 CAllIBlock::GetAdminSectionListLink()
4148 CAllIBlock::GetAdminSectionListScriptName()

iblockproperty.php

Line Element Reason
1369 CAllIBlockProperty::_DateTime_GetUserTypeDescription()

deprecated since iblock 17.0.9

1380 CAllIBlockProperty::_Date_GetUserTypeDescription()

deprecated since iblock 17.0.9

1391 CAllIBlockProperty::_XmlID_GetUserTypeDescription()

deprecated since iblock 17.0.9

1402 CAllIBlockProperty::_FileMan_GetUserTypeDescription()

deprecated since iblock 17.0.9

1413 CAllIBlockProperty::_HTML_GetUserTypeDescription()

deprecated since iblock 17.0.9

1424 CAllIBlockProperty::_ElementList_GetUserTypeDescription()

deprecated since iblock 17.0.9

1435 CAllIBlockProperty::_Sequence_GetUserTypeDescription()

deprecated since iblock 17.0.9

1446 CAllIBlockProperty::_ElementAutoComplete_GetUserTypeDescription()

deprecated since iblock 17.0.9

1457 CAllIBlockProperty::_SKU_GetUserTypeDescription()

deprecated since iblock 17.0.9

1468 CAllIBlockProperty::_SectionAutoComplete_GetUserTypeDescription()

deprecated since iblock 17.0.9

cml2.php

Line Element Reason
515 CIBlockXMLFile::_get_xml_chunk_mb_orig()

deprecated since iblock 20.100.0

585 CIBlockXMLFile::_get_xml_chunk_mb()

deprecated since iblock 20.100.0

1045 CIBlockXMLFile::UnZip()

deprecated since 23.100.0 - unsecure

propertyfeature.php

Line Element Reason
431 PropertyFeature::getDetailPageShowProperties()

deprecated since iblock 19.0.0

tracker.php

Line Element Reason
403 Tracker::cancel()
625 Tracker::change()
820 Tracker::updateLog()
856 Tracker::sendLimitMessage()

TODO: delete

userabsence.php

Line Element Reason
349 UserAbsence::onAfterIblockElementModify()

util.php

Line Element Reason
259 Util::getClientLogo()

use Intranet\Portal::getInstance()->getSettings()->getLogo()

database.php

Line Element Reason
221 CAllDatabase::Connect()

Use D7 connections.

692 CAllDatabase::QueryLong()

Will be removed.

810 CAllDatabase::ParseSqlBatch()

Use \Bitrix\Main\DB\Connection::parseSqlBatch()

45 CAllDatabase::$cntQuery

Use \Bitrix\Main\Application::getConnection()->getTracker()->getCounter();

50 CAllDatabase::$timeQuery

Use \Bitrix\Main\Application::getConnection()->getTracker()->getTime();

55 CAllDatabase::$arQueryDebug

Use \Bitrix\Main\Application::getConnection()->getTracker()->getQueries();

dbresult.php

Line Element Reason
339 CAllDBResult::NavContinue()
352 CAllDBResult::IsNavPrint()

file.php

Line Element Reason
1260 CFile::CopyFile()

Consider using \CFile::CloneFile().

2488 CFile::ImageCreateFromBMP()

Use imagecreatefrombmp()

2503 CFile::ScaleImage()

Use \Bitrix\Main\File\Image\Rectangle::resize()

2528 CFile::IsGD2()

Always returns true.

2710 CFile::ApplyImageFilter()

Use \Bitrix\Main\File\Image

2736 CFile::ImageFlipHorizontal()

Use \Bitrix\Main\File\Image

2752 CFile::ImageHandleOrientation()

Use \Bitrix\Main\File\Image::autoRotate()

3205 CFile::Watermark()

Use \Bitrix\Main\File\Image.

3225 CFile::WatermarkText()

Use \Bitrix\Main\File\Image::drawWatermark()

3248 CFile::WatermarkImage()

Use \Bitrix\Main\File\Image::drawWatermark()

3289 CFile::CreateImage()

Use \Bitrix\Main\File\Image

3306 CFile::ExtractImageExif()

Use \Bitrix\Main\File\Image::getExifData()

3316 CFile::NormalizeContentType()

Use Web\MimeType::normalize()

3363 CFile::GetImageSize()

Use \Bitrix\Main\File\Image::getInfo()

main.php

Line Element Reason
479 CAllMain::IsHTTPS()

Use HttpRequest::isHttps()

797 CAllMain::GetAdditionalCSS()
813 CAllMain::GetCSS()

use Asset::getInstance()->getCss()

832 CAllMain::AddHeadString()

$Asset::getInstance->addString($str, $bUnique, $location);

863 CAllMain::AddHeadScript()

use Asset::getInstance()->addJs($src, $additional)

881 CAllMain::AddLangJS()

use Asset::getInstance()->addBeforeJs($content)

887 CAllMain::AddAdditionalJS()

use Asset::getInstance()->addString($content, false, \Bitrix\Main\Page\AssetLocation::AFTER_JS, $mode)

898 CAllMain::AddCSSKernelInfo()

deprecated use Asset::addCssKernelInfo()

904 CAllMain::AddJSKernelInfo()

deprecated use Asset::addJsKernelInfo()

910 CAllMain::GroupModuleJS()

use Asset::getInstance()->groupJs($from, $to)

916 CAllMain::MoveJSToBody()

use Asset::getInstance()->moveJs($module)

922 CAllMain::GroupModuleCSS()

use Asset::getInstance()->groupCss($from, $to)

928 CAllMain::SetUniqueCSS()

use Asset::getInstance()->setUnique($type, $id)

936 CAllMain::SetUniqueJS()
942 CAllMain::GetHeadScripts()

use Asset::getInstance()->getJs($type)

2233 CAllMain::GetFileAccessPermissionByUser()

Not used, will be removed.

2364 CAllMain::ProcessLPA()

Use LPA::Process()

2372 CAllMain::LPAComponentChecker()

Use LPA::ComponentChecker()

2849 CAllMain::set_cookie()

Use \Bitrix\Main\HttpResponse::addCookie().

2892 CAllMain::GetCookieDomain()

Use \Bitrix\Main\Web\Cookie::getCookieDomain().

3192 CAllMain::GetLang()
3212 CAllMain::GetSiteByDir()
3434 CAllMain::ConvertCharset()

Use Main\Text\Encoding::convertEncoding()

3446 CAllMain::ConvertCharsetArray()

Use Main\Text\Encoding::convertEncoding()

3491 CAllMain::ShowFileSelectDialog()

Use CAdminFileDialog::ShowScript instead

3743 CAllMain::EpilogActions()

Will be removed soon

3753 CAllMain::ForkActions()

Use \Bitrix\Main\Application::addBackgroundJob()

3763 CAllMain::__GetConditionFName()

site.php

Line Element Reason
60 CAllSite::GetWeekStart()

Use Context culture.

557 CAllSite::GetSiteDocRoot()

Use SiteTable::getDocumentRoot()

time.php

Line Element Reason
176 CTimeZone::GetCookieValue()

Does nothing.

184 CTimeZone::SetCookieValue()

Does nothing.

user.php

Line Element Reason
5066 CAllUser::GetActiveUsersCount()

usertypebool.php

Line Element Reason
10 CUserTypeBoolean

deprecated since main 20.0.700

usertypedate.php

Line Element Reason
14 CUserTypeDate

deprecated since main 20.0.700

usertypedbl.php

Line Element Reason
11 CUserTypeDouble

deprecated since main 20.0.700

usertypeelement.php

Line Element Reason
14 CUserTypeIBlockElement

deprecated since main 20.0.800

245 CIBlockElementEnum::getTreeList()

usertypeenum.php

Line Element Reason
17 CUserTypeEnum

deprecated since main 20.0.700

usertypefile.php

Line Element Reason
13 CUserTypeFile

usertypeint.php

Line Element Reason
14 CUserTypeInteger

deprecated since main 20.0.700

usertypesection.php

Line Element Reason
14 CUserTypeIBlockSection

deprecated since main 20.0.800

usertypestr.php

Line Element Reason
10 CUserTypeString

deprecated since main 20.0.700

usertypetime.php

Line Element Reason
10 CUserTypeDateTime

deprecated since main 20.0.700

usertypeurl.php

Line Element Reason
9 CUserTypeUrl

deprecated since main 20.0.700

util.php

Line Element Reason
66 CUtil::PhpToJSObject()

Use \Bitrix\Main\Web\Json::encode().

540 CUtil::JSPostUnescape()

Does nothing.

547 CUtil::decodeURIComponent()

Does nothing.

554 CUtil::DetectUTF8()

Use \Bitrix\Main\Text\Encoding::detectUtf8().

562 CUtil::ConvertToLangCharset()

Use \Bitrix\Main\Text\Encoding::convertToUtf().

581 CUtil::InitJSCore()

Use \CJSCore::Init().

739 CUtil::Unformat()

Use \Bitrix\Main\Config\Ini::unformatInt().

application.php

Line Element Reason
119 Application::initializeBasicKernel()

Does nothing, will be removed soon.

726 Application::isUtfMode()

Always returns true.

configuration.php

Line Element Reason
13 Configuration::CONFIGURATION_FILE_PATH

cache.php

Line Element Reason
461 Cache::clearCache()

Use \Bitrix\Main\Data\Cache::cleanDir().

connection.php

Line Element Reason
80 Connection::getDbName()

Use getDatabase()

paginator.php

Line Element Reason
9 Paginator

To be removed soon. Don't use it.

sqlhelper.php

Line Element Reason
710 SqlHelper::convertDatetimeField()

Converts string into \Bitrix\Main\Type\DateTime object.

Helper function.

726 SqlHelper::convertDateField()

Converts string into \Bitrix\Main\Type\Date object.

Helper function.

exceptionhandlerformatter.php

Line Element Reason
79 ExceptionHandlerFormatter::severityToString()

postdecode.php

Line Element Reason
8 PostDecode

Does nothing.

binder.php

Line Element Reason
18 Binder

archiveentry.php

Line Element Reason
13 ArchiveEntry

Use \Bitrix\Main\Engine\Response\Zip\DirectoryEntry or \Bitrix\Main\Engine\Response\Zip\FileEntry instead.

eventresult.php

Line Element Reason
24 EventResult::getResultType()

Use getType()

finderdest.php

Line Element Reason
211 FinderDestTable::onAfterDiskAjaxAction()

isn't used in the kernel already Handler for onAfterAjaxActionCreateFolderWithSharing, onAfterAjaxActionAppendSharing and onAfterAjaxActionChangeSharingAndRights events of disk module Converts sharings into destination codes and stores them

grid.php

Line Element Reason
589 DeprecatedMethods::initPagination()

use createPagination method.

Init pagination.

If you use pagination, you need to call this method before getting the ORM parameters (getOrmParams method).

fileentry.php

Line Element Reason
33 FileEntry::getFileSize()

Use getSize() instead

loader.php

Line Element Reason
38 Loader::ALPHA_LOWER
40 Loader::ALPHA_UPPER

entity.php

Line Element Reason
610 Entity::getUField()
630 Entity::hasUField()
860 Entity::camel2snake()

Use Bitrix\StringHelper::camel2snake instead

872 Entity::snake2camel()

Use Bitrix\StringHelper::snake2camel instead

1428 Entity::enableFullTextIndex()

Does nothing, mysql 5.6 has fulltext always enabled.

1439 Entity::fullTextIndexEnabled()

Always returns true, mysql 5.6 has fulltext always enabled.

expressionfield.php

Line Element Reason
421 ExpressionField::getDataType()

field.php

Line Element Reason
488 Field::configureSerialized()
569 Field::getDataType()
585 Field::getOldDataTypeByClass()
598 Field::getOldDataTypeByField()
609 Field::getClassByOldDataType()

asset.php

Line Element Reason
203 Asset::setMaxCss()

manager.php

Line Element Reason
31 Manager::INFO_NOT_AVAILABLE

binarystring.php

Line Element Reason
13 BinaryString

Use str* functions for binary strings and mb_* for characters.

encoding.php

Line Element Reason
114 Encoding::convertEncodingArray()

Deprecated in main 16.0.10. Use Encoding::convertEncoding().

utfconverter.php

Line Element Reason
8 UtfConverter

Does nothing.

urlpreview.php

Line Element Reason
1011 UrlPreview::isIpAddressPrivate()

Will be removed.

user.php

Line Element Reason
245 UserTable::getActiveUsersCount()

userutils.php

Line Element Reason
280 UserUtils::getDepartmentName()

Use \Bitrix\HumanResources\Service\Container::getNodeRepository()->findAllByAccessCodes($accessCodes) instead. $accessCodes need to be an array of strings like ['D1', 'D2', ...].

297 UserUtils::getDepartmentNames()

Use \Bitrix\HumanResources\Service\Container::getNodeRepository()->findAllByAccessCodes($accessCodes) instead. $accessCodes need to be an array of strings like ['D1', 'D2', ...].

postdecodefilter.php

Line Element Reason
10 PostDecodeFilter

Does nothing.

uri.php

Line Element Reason
56 Uri::getUrl()

Use getLocator() or getUri().

basketbase.php

Line Element Reason
1113 BasketBase::refreshData()

Use \Bitrix\Sale\BasketBase::refresh instead

1136 BasketBase::getExistsItemByItem()

the basket can contain duplicate items

basketitembase.php

Line Element Reason
1757 BasketItemBase::getDefaultPrice()

basketitemcollection.php

Line Element Reason
307 BasketItemCollection::getExistsItem()

the basket can contain duplicate items. Use method getExistsItems

Get first basket item for need moduleId, productId and properties

basketpropertiesbase.php

Line Element Reason
566 BasketPropertiesCollectionBase::setProperty()

Use \Bitrix\Sale\BasketPropertiesCollectionBase::redefine instead

businessvalue.php

Line Element Reason
26 BusinessValue::getValueFromProvider()
806 BusinessValue::install()
811 BusinessValue::COMMON_PERSON_ID
813 BusinessValue::COMMON_DOMAIN
817 BusinessValueHandlers

base.php

Line Element Reason
121 Base::getPrice()

use \Bitrix\Sale\Delivery\ExtraServices\Base::getPriceShipment()

237 Base::getCost()

use \Bitrix\Sale\Delivery\ExtraServices\Base::getCostShipment()

manager.php

Line Element Reason
786 Manager::getTotalCost()

manager.php

Line Element Reason
1304 Manager::calculate()

use \Bitrix\Sale\Delivery\Services\Manager::calculateDeliveryPrice()

1313 Manager::getRestrictionObject()

will be remove in next versions

1335 Manager::checkServiceRestrictions()

use Restrictions\Manager::checkService()

1343 Manager::getServicesForShipment()

use \Bitrix\Sale\Delivery\Services\Manager::getRestrictedObjectsList()

1351 Manager::isExistService()

use \Bitrix\Sale\Delivery\Services\Manager::isServiceExist()

1359 Manager::getActive()

use \Bitrix\Sale\Delivery\Services\Manager::getActiveList()

1367 Manager::getServicesBriefsForShipment()

use \Bitrix\Sale\Delivery\Services\Manager::getRestrictedList()

1375 Manager::createServiceObject()

use \Bitrix\Sale\Delivery\Services\Manager::createObject()

1383 Manager::getService()

use \Bitrix\Sale\Delivery\Services\Manager::getObjectById()

1391 Manager::getServiceByCode()

use \Bitrix\Sale\Delivery\Services\Manager::getServiceByCode()

1399 Manager::getHandlersClassNames()

use \Bitrix\Sale\Delivery\Services\Manager::getHandlersList()

1407 Manager::getRestrictionClassNames()

use Restrictions\Manager::getClassesList()

1415 Manager::getRestrictionsByDeliveryId()

use Restrictions\Manager::getRestrictionsList()

table.php

Line Element Reason
175 Table::getIdByCode()

use Services\Manager::getIdByCode()

183 Table::getCodeById()

use Services\Manager::getCodeById()

basepreset.php

Line Element Reason
446 BasePreset::isAvailable()

discount.php

Line Element Reason
867 Discount::setBasketItemBasePrice()
876 Discount::setBasketBasePrice()
885 Discount::getBasketItemBasePrice()
898 Discount::setBasketItemDiscounts()
908 Discount::setBasketItemData()
917 Discount::clearBasketItemData()
928 Discount::loadByBasket()

deprecated sinse sale 17.0.11

946 Discount::load()

deprecated sinse sale 17.0.11

959 Discount::saveExternalLastApplyblock()

fuser.php

Line Element Reason
97 Fuser::getCode()

input.php

Line Element Reason
1389 File::loadInfo()

Load file array from database.

orderdiscount.php

Line Element Reason
312 OrderDiscountTable::getDiscountModules()
713 OrderDiscountDataTable::ENTITY_TYPE_BASKET
933 OrderRulesTable::ENTITY_TYPE_BASKET

orderprops.php

Line Element Reason
366 OrderPropsTable::getFilteredSaveModifiers()
378 OrderPropsTable::modifyFilteredForSave()

orderround.php

Line Element Reason
44 OrderRoundTable::ENTITY_TYPE_BASKET

order.php

Line Element Reason
2429 Order::getDeliverySystemId()
2439 Order::getPaymentSystemId()

orderbase.php

Line Element Reason
2317 OrderBase::isAllowPay()

Use OrderStatus::isAllowPay instead

2832 OrderBase::getSettableFields()

Use \Bitrix\Sale\OrderBase::getAvailableFields instead

orderdiscountmanager.php

Line Element Reason
16 OrderDiscountManager
63 OrderDiscountManager::loadResultFromDatabase()
111 OrderDiscountManager::prepareDiscountDescription()
160 OrderDiscountManager::formatDiscountDescription()
189 OrderDiscountManager::formatDescription()
210 OrderDiscountManager::formatArrayDescription()
234 OrderDiscountManager::createSimpleDescription()
19 OrderDiscountManager::DESCR_TYPE_SIMPLE
21 OrderDiscountManager::DESCR_TYPE_VALUE
23 OrderDiscountManager::DESCR_TYPE_LIMIT_VALUE
25 OrderDiscountManager::DESCR_TYPE_FIXED
27 OrderDiscountManager::DESCR_TYPE_MAX_BOUND
30 OrderDiscountManager::DESCR_VALUE_TYPE_PERCENT
32 OrderDiscountManager::DESCR_VALUE_TYPE_CURRENCY
34 OrderDiscountManager::DESCR_VALUE_TYPE_SUMM
36 OrderDiscountManager::DESCR_VALUE_TYPE_SUMM_BASKET
39 OrderDiscountManager::DESCR_VALUE_ACTION_DISCOUNT
41 OrderDiscountManager::DESCR_VALUE_ACTION_EXTRA
43 OrderDiscountManager::DESCR_VALUE_ACTION_ACCUMULATE
45 OrderDiscountManager::DESCR_VALUE_ACTION_CUMULATIVE
48 OrderDiscountManager::DESCR_LIMIT_MAX
50 OrderDiscountManager::DESCR_LIMIT_MIN

logger.php

Line Element Reason
90 Logger::add()

Use \Bitrix\Sale\PaySystem\Logger::addError instead

pricemaths.php

Line Element Reason
38 PriceMaths::roundByFormatCurrency()

Use \Bitrix\Sale\PriceMaths::roundPrecision instead it

propertyvaluebase.php

Line Element Reason
95 PropertyValueBase::loadOptions()
123 PropertyValueBase::getMeaningfulValues()

propertyvaluecollectionbase.php

Line Element Reason
186 PropertyValueCollectionBase::getGroupProperties()

shipment.php

Line Element Reason
2886 Shipment::getParentOrder()

Use getOrder instead

manager.php

Line Element Reason
29 Manager::onConnectorListContact()
41 Manager::onConnectorListRecipient()

postingmanager.php

Line Element Reason
401 PostingManager::lockPosting()
418 PostingManager::unlockPosting()

subscription.php

Line Element Reason
340 Subscription::getList()
444 Subscription::unsubscribe()

yandexdirectlive.php

Line Element Reason
25 YandexDirectLive

taskacceptrule.php

Line Element Reason
19 TaskAcceptRule

taskdeclinerule.php

Line Element Reason
19 TaskDeclineRule

taskresulteditrule.php

Line Element Reason
18 TaskResultEditRule

agent.php

Line Element Reason
263 Agent::start()
272 Agent::install()
300 Agent::installNextStep()

counter.php

Line Element Reason
131 Counter::processRecalculate()

since tasks 20.800.0

tree.php

Line Element Reason
563 Tree::dropLinkL()

access.php

Line Element Reason
26 Access::getAvailableOperations()

since tasks 20.6.0

searchindex.php

Line Element Reason
90 SearchIndex::transferTaskSearchIndex()

Transfer task's search index record to b_tasks_search_index. Method is deprecated and only used for stepper purposes.

viewed.php

Line Element Reason
258 ViewedTable::set()

useroption.php

Line Element Reason
83 UserOption::isOptionSet()
98 UserOption::getOptions()
138 UserOption::add()
230 UserOption::delete()
315 UserOption::deleteByTaskId()
336 UserOption::deleteByTaskIdAndUserId()
444 UserOption::deleteOnUserRoleChanged()

template.php

Line Element Reason
358 Template::canRead()

task.php

Line Element Reason
69 Task::save()
699 Task::complete()

filetransformer.php

Line Element Reason
18 FileTransformer::MAX_EXECUTION_TIME

Transformer module handles timeouts on its own. You don't need to check max execution time.

http.php

Line Element Reason
30 Http::CONNECTION_ERROR

Search results