Поддержка серверов

CLOUDS: методы, функции, константы класса Битрикс


Блог разработчика

9 августа 2016 ResizeImageGet и простой водяной знак налету

Сегодня поговорим о том как проще всего воткнуть водяной знак на картинки в Битрикс. Например, на все изображения каталога.

21 июля 2016 Добавление вкладки в CRM коробки Битрикс24

В этом посте я покажу, как легко и просто добавить вкладку в сущность CRM. И не просто добавить, а вывести там свой контент.

21 июля 2016 Как просто обращаться из коробки Битрикс24 на сайт на базе Битрикс

К примеру вам хочется внутренним скриптом дернуть с сайта-магазина информацию, которая там, в свою очередь, закрыта некоторыми правами. Например, админскими. Можно конечно мутить свой REST, или иной формат общения, но проще всего воспользоваться штатным инструментом:

События модуля clouds

СобытиеВызывается
OnAfterCompleteMultipartUploadCCloudStorageUpload::Finish
OnAfterCopyFileCCloudStorageBucket::FileCopy
OnAfterDeleteFileCCloudStorageBucket::DeleteFile
OnAfterRenameFileCCloudStorageBucket::FileRename
OnAfterSaveFileCCloudStorageBucket::SaveFile
OnExpiredTokenCCloudStorageBucket::RenewToken
OnGetStorageServiceCCloudStorage::_init

Константы модуля clouds

КонстантаПроверяется
BX_CHECK_SHORT_URICCloudStorage::OnBeforeProlog
BX_CLOUDS_COUNTERS_DEBUGCCloudStorageBucket::DecFileCounter
BX_CLOUDS_TRACECCloudStorageService_AmazonS3::SendRequest
BX_CLOUDS_UNINSTALLEDclouds::UnInstallDB
BX_MOBILECCloudStorage::OnBeforeResizeImage

Список функций и методов модуля clouds

Метод
CCloudFailover::IsEnabled()
CCloudFailover::_lock_by_id()
CCloudFailover::executeCopyQueue()
CCloudFailover::executeCopyTask()
CCloudFailover::executeDeleteQueue()
CCloudFailover::executeRenameTask()
CCloudFailover::lock()
CCloudFailover::queueAgent()
CCloudFailover::queueCopy()
CCloudFailover::queueDelete()
CCloudFailover::queueRename()
CCloudFailover::syncAgent()
CCloudFailover::unlock()
CCloudSecurityService_AmazonS3::GetDefaultBucketControlPolicy()
CCloudSecurityService_AmazonS3::GetFederationToken()
CCloudSecurityService_AmazonS3::GetID()
CCloudSecurityService_AmazonS3::GetLastRequestStatus()
CCloudSecurityService_AmazonS3::GetName()
CCloudSecurityService_AmazonS3::GetObject()
CCloudSecurityService_AmazonS3::PhpToJSObject()
CCloudSecurityService_AmazonS3::SendRequest()
CCloudSecurityService_AmazonS3::hmacsha1()
CCloudSecurityService_HotBox::CreatePrefixKey()
CCloudSecurityService_HotBox::DeletePrefixKey()
CCloudSecurityService_HotBox::GetID()
CCloudSecurityService_HotBox::GetName()
CCloudSecurityService_HotBox::GetObject()
CCloudSecurityService_HotBox::IsUserExists()
CCloudSecurityService_HotBox::ListPrefixKeys()
CCloudSecurityService_HotBox::SetBucketArray()
CCloudSecurityService_HotBox::__construct()
CCloudStorage::CleanUp()
CCloudStorage::DeleteDirFilesEx()
CCloudStorage::FindBucketByFile()
CCloudStorage::FindBucketForFile()
CCloudStorage::FindFileURIByURN()
CCloudStorage::FixFileContentType()
CCloudStorage::GetAuditTypes()
CCloudStorage::GetServiceByID()
CCloudStorage::GetServiceDescription()
CCloudStorage::GetServiceList()
CCloudStorage::GetServiceLocationList()
CCloudStorage::HasActiveBuckets()
CCloudStorage::MoveFile()
CCloudStorage::OnAdminListDisplay()
CCloudStorage::OnAfterFileSave()
CCloudStorage::OnAfterResizeImage()
CCloudStorage::OnBeforeProlog()
CCloudStorage::OnBeforeResizeImage()
CCloudStorage::OnBuildGlobalMenu()
CCloudStorage::OnFileCopy()
CCloudStorage::OnFileDelete()
CCloudStorage::OnFileSave()
CCloudStorage::OnGetFileSRC()
CCloudStorage::OnMakeFileArray()
CCloudStorage::ResizeImageFileAdd()
CCloudStorage::ResizeImageFileCheck()
CCloudStorage::ResizeImageFileDelay()
CCloudStorage::ResizeImageFileGet()
CCloudStorage::_init()
CCloudStorage::translit()
CCloudStorageBucket::Add()
CCloudStorageBucket::CheckFields()
CCloudStorageBucket::CheckSettings()
CCloudStorageBucket::CompileExtentionRule()
CCloudStorageBucket::CompileModuleRule()
CCloudStorageBucket::CompileRules()
CCloudStorageBucket::CompileSizeRule()
CCloudStorageBucket::ConvertPOST()
CCloudStorageBucket::CreateBucket()
CCloudStorageBucket::DecFileCounter()
CCloudStorageBucket::Delete()
CCloudStorageBucket::DeleteFile()
CCloudStorageBucket::DownloadToFile()
CCloudStorageBucket::FileCopy()
CCloudStorageBucket::FileExists()
CCloudStorageBucket::FileRename()
CCloudStorageBucket::GetActualBucketId()
CCloudStorageBucket::GetAllBuckets()
CCloudStorageBucket::GetFileSRC()
CCloudStorageBucket::GetFileSize()
CCloudStorageBucket::GetList()
CCloudStorageBucket::IncFileCounter()
CCloudStorageBucket::Init()
CCloudStorageBucket::ListFiles()
CCloudStorageBucket::ParseSize()
CCloudStorageBucket::RenewToken()
CCloudStorageBucket::SaveFile()
CCloudStorageBucket::SetFileCounter()
CCloudStorageBucket::Update()
CCloudStorageBucket::__construct()
CCloudStorageBucket::__get()
CCloudStorageBucket::_init()
CCloudStorageBucket::disableFailOver()
CCloudStorageBucket::getBucketArray()
CCloudStorageBucket::getQueueFlag()
CCloudStorageBucket::getService()
CCloudStorageBucket::isFailoverEnabled()
CCloudStorageBucket::setHeader()
CCloudStorageBucket::setQueueFlag()
CCloudStorageService::FileRename()
CCloudStorageService::GetLastRequestHeader()
CCloudStorageService::GetLastRequestStatus()
CCloudStorageService::GetObjectInstance()
CCloudStorageService::SetHeader()
CCloudStorageService::SetPublic()
CCloudStorageService::UnsetHeader()
CCloudStorageService::getHeaders()
CCloudStorageService_AmazonS3::CheckSettings()
CCloudStorageService_AmazonS3::CompleteMultipartUpload()
CCloudStorageService_AmazonS3::CreateBucket()
CCloudStorageService_AmazonS3::DeleteBucket()
CCloudStorageService_AmazonS3::DeleteFile()
CCloudStorageService_AmazonS3::DownloadToFile()
CCloudStorageService_AmazonS3::FileCopy()
CCloudStorageService_AmazonS3::FileExists()
CCloudStorageService_AmazonS3::GetAPList()
CCloudStorageService_AmazonS3::GetFileSRC()
CCloudStorageService_AmazonS3::GetID()
CCloudStorageService_AmazonS3::GetLocationList()
CCloudStorageService_AmazonS3::GetMinUploadPartSize()
CCloudStorageService_AmazonS3::GetName()
CCloudStorageService_AmazonS3::GetObject()
CCloudStorageService_AmazonS3::GetRequestHost()
CCloudStorageService_AmazonS3::GetSettingsHTML()
CCloudStorageService_AmazonS3::InitiateMultipartUpload()
CCloudStorageService_AmazonS3::IsEmptyBucket()
CCloudStorageService_AmazonS3::ListBuckets()
CCloudStorageService_AmazonS3::ListFiles()
CCloudStorageService_AmazonS3::SaveFile()
CCloudStorageService_AmazonS3::SendRequest()
CCloudStorageService_AmazonS3::SetHeader()
CCloudStorageService_AmazonS3::SetLocation()
CCloudStorageService_AmazonS3::SetPublic()
CCloudStorageService_AmazonS3::SignRequest()
CCloudStorageService_AmazonS3::UnsetHeader()
CCloudStorageService_AmazonS3::UploadPart()
CCloudStorageService_AmazonS3::UploadPartNo()
CCloudStorageService_AmazonS3::checkForTokenExpiration()
CCloudStorageService_AmazonS3::hmacsha1()
CCloudStorageService_ClodoRU::GetID()
CCloudStorageService_ClodoRU::GetName()
CCloudStorageService_ClodoRU::GetObject()
CCloudStorageService_ClodoRU::GetSettingsHTML()
CCloudStorageService_GoogleStorage::CheckSettings()
CCloudStorageService_GoogleStorage::CompleteMultipartUpload()
CCloudStorageService_GoogleStorage::CreateBucket()
CCloudStorageService_GoogleStorage::DeleteBucket()
CCloudStorageService_GoogleStorage::DeleteFile()
CCloudStorageService_GoogleStorage::DownloadToFile()
CCloudStorageService_GoogleStorage::FileCopy()
CCloudStorageService_GoogleStorage::FileExists()
CCloudStorageService_GoogleStorage::GetFileSRC()
CCloudStorageService_GoogleStorage::GetID()
CCloudStorageService_GoogleStorage::GetLocationList()
CCloudStorageService_GoogleStorage::GetMinUploadPartSize()
CCloudStorageService_GoogleStorage::GetName()
CCloudStorageService_GoogleStorage::GetObject()
CCloudStorageService_GoogleStorage::GetSettingsHTML()
CCloudStorageService_GoogleStorage::InitiateMultipartUpload()
CCloudStorageService_GoogleStorage::IsEmptyBucket()
CCloudStorageService_GoogleStorage::ListFiles()
CCloudStorageService_GoogleStorage::SaveFile()
CCloudStorageService_GoogleStorage::SendRequest()
CCloudStorageService_GoogleStorage::StartUpload()
CCloudStorageService_GoogleStorage::UploadPart()
CCloudStorageService_GoogleStorage::UploadPartNo()
CCloudStorageService_GoogleStorage::UploadRange()
CCloudStorageService_GoogleStorage::hmacsha1()
CCloudStorageService_HotBox::DeleteBucket()
CCloudStorageService_HotBox::GetFileSRC()
CCloudStorageService_HotBox::GetID()
CCloudStorageService_HotBox::GetLocationList()
CCloudStorageService_HotBox::GetName()
CCloudStorageService_HotBox::GetObject()
CCloudStorageService_HotBox::GetRequestHost()
CCloudStorageService_HotBox::GetSettingsHTML()
CCloudStorageService_OpenStackStorage::CheckSettings()
CCloudStorageService_OpenStackStorage::CompleteMultipartUpload()
CCloudStorageService_OpenStackStorage::CreateBucket()
CCloudStorageService_OpenStackStorage::DeleteBucket()
CCloudStorageService_OpenStackStorage::DeleteFile()
CCloudStorageService_OpenStackStorage::DownloadToFile()
CCloudStorageService_OpenStackStorage::FileCopy()
CCloudStorageService_OpenStackStorage::FileExists()
CCloudStorageService_OpenStackStorage::GetFileSRC()
CCloudStorageService_OpenStackStorage::GetID()
CCloudStorageService_OpenStackStorage::GetLocationList()
CCloudStorageService_OpenStackStorage::GetMinUploadPartSize()
CCloudStorageService_OpenStackStorage::GetName()
CCloudStorageService_OpenStackStorage::GetObject()
CCloudStorageService_OpenStackStorage::GetSettingsHTML()
CCloudStorageService_OpenStackStorage::InitiateMultipartUpload()
CCloudStorageService_OpenStackStorage::IsEmptyBucket()
CCloudStorageService_OpenStackStorage::ListFiles()
CCloudStorageService_OpenStackStorage::SaveFile()
CCloudStorageService_OpenStackStorage::SendRequest()
CCloudStorageService_OpenStackStorage::UploadPart()
CCloudStorageService_OpenStackStorage::UploadPartNo()
CCloudStorageService_OpenStackStorage::_GetToken()
CCloudStorageService_RackSpaceCloudFiles::CreateBucket()
CCloudStorageService_RackSpaceCloudFiles::GetFileSRC()
CCloudStorageService_RackSpaceCloudFiles::GetID()
CCloudStorageService_RackSpaceCloudFiles::GetName()
CCloudStorageService_RackSpaceCloudFiles::GetObject()
CCloudStorageService_RackSpaceCloudFiles::SendCDNRequest()
CCloudStorageService_RackSpaceCloudFiles::_GetToken()
CCloudStorageService_Selectel::CheckSettings()
CCloudStorageService_Selectel::GetID()
CCloudStorageService_Selectel::GetName()
CCloudStorageService_Selectel::GetObject()
CCloudStorageService_Selectel::GetSettingsHTML()
CCloudStorageService_Yandex::DeleteBucket()
CCloudStorageService_Yandex::GetFileSRC()
CCloudStorageService_Yandex::GetID()
CCloudStorageService_Yandex::GetLocationList()
CCloudStorageService_Yandex::GetName()
CCloudStorageService_Yandex::GetObject()
CCloudStorageService_Yandex::GetRequestHost()
CCloudStorageService_Yandex::GetSettingsHTML()
CCloudStorageService_Yandex::SendRequest()
CCloudStorageUpload::Delete()
CCloudStorageUpload::DeleteOld()
CCloudStorageUpload::Finish()
CCloudStorageUpload::GetArray()
CCloudStorageUpload::GetPartCount()
CCloudStorageUpload::GetPos()
CCloudStorageUpload::Next()
CCloudStorageUpload::Part()
CCloudStorageUpload::Start()
CCloudStorageUpload::UpdateProgress()
CCloudStorageUpload::__construct()
CCloudStorageUpload::getPartSize()
CCloudStorageUpload::getTempFileName()
CCloudStorageUpload::hasRetries()
CCloudStorageUpload::isStarted()
CCloudTempFile::Cleanup()
CCloudTempFile::GetAbsoluteRoot()
CCloudTempFile::GetDirectoryName()
CCloudTempFile::GetFileName()
CCloudTempFile::IsTempFile()
CCloudTempFile::RegisterShutdown()
CCloudTempFile::cleanupFiles()
CCloudUtil::URLEncode()
CCloudUtil::gmtTimeToDateTime()
CCloudsDebug::__construct()
CCloudsDebug::__destruct()
CCloudsDebug::endAction()
CCloudsDebug::getBackTrace()
CCloudsDebug::getInstance()
CCloudsDebug::startAction()
CopyQueueTable::getMap()
CopyQueueTable::getTableName()
CopyQueueTable::validateContentType()
CopyQueueTable::validateErrorMessage()
CopyQueueTable::validateSourceFilePath()
CopyQueueTable::validateTargetFilePath()
DeleteQueueTable::getMap()
DeleteQueueTable::getTableName()
DeleteQueueTable::validateFilePath()
FileBucketTable::getMap()
FileBucketTable::getTableName()
FileBucketTable::validateBucket()
FileBucketTable::validateCname()
FileBucketTable::validateLocation()
FileBucketTable::validatePrefix()
FileBucketTable::validateServiceId()
FileResizeTable::getMap()
FileResizeTable::getTableName()
FileResizeTable::validateErrorCode()
FileResizeTable::validateFromPath()
FileResizeTable::validateToPath()
FileSaveTable::endFileOperation()
FileSaveTable::getMap()
FileSaveTable::getTableName()
FileSaveTable::setFileSize()
FileSaveTable::startFileOperation()
FileSaveTable::validateExternalId()
FileSaveTable::validateFileName()
FileSaveTable::validateSubdir()
FileUploadTable::getMap()
FileUploadTable::getTableName()
FileUploadTable::validateFilePath()
FileUploadTable::validateId()
FileUploadTable::validateTmpFile()
clouds::DoInstall()
clouds::DoUninstall()
clouds::GetModuleTasks()
clouds::InstallDB()
clouds::InstallEvents()
clouds::InstallFiles()
clouds::OnGetTableSchema()
clouds::UnInstallDB()
clouds::UnInstallEvents()
clouds::UnInstallFiles()
clouds::clouds()