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

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


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

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

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

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

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

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

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

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

СобытиеВызывается
BlogImageSizeblogTextParser::__construct
OnBeforeBlogAddCBlog::Add
OnBeforeBlogDeleteCBlog::Delete
OnBeforeBlogUpdateCBlog::Update
OnBeforeCommentAddCBlogComment::Add
OnBeforeCommentDeleteCBlogComment::Delete
OnBeforeCommentUpdateCBlogComment::Update
OnBeforePostAddCBlogPost::Add
OnBeforePostDeleteCBlogPost::Delete
OnBeforePostUpdateCBlogPost::Update
OnBeforePostUserFieldUpdateCBlogPost::Update
OnBlogAddCBlog::Add
OnBlogDeleteCBlog::Delete
OnBlogPostMentionNotifyImCBlogPost::NotifyIm
OnBlogUpdateCBlog::Update
OnCommentAddCBlogComment::Add
OnCommentDeleteCBlogComment::Delete
OnCommentUpdateCBlogComment::Update
OnPostAddCBlogPost::Add
OnPostDeleteCBlogPost::Delete
OnPostUpdateCBlogPost::Update
videoConvertblogTextParser::blogConvertVideo

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

КонстантаПроверяется
BX_COMP_MANAGED_CACHECBlogPost::Update
SITE_CHARSETCBlogTrackback::GetPing
SITE_SERVER_NAMEBroadcast::send

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

Метод
Base::updateAttachedIdsInText()
Blog::getByUser()
BlogComment::add()
BlogComment::copyChildren()
BlogComment::getFields()
BlogComment::getText()
BlogComment::prepareFieldsToCopy()
BlogComment::update()
BlogPost::add()
BlogPost::addCategory()
BlogPost::addNotify()
BlogPost::copyChildren()
BlogPost::copyComments()
BlogPost::copyVote()
BlogPost::getCopiedVoteId()
BlogPost::getFields()
BlogPost::getSocnetRights()
BlogPost::getText()
BlogPost::prepareFieldsToCopy()
BlogPost::setBlogCommentCopier()
BlogPost::setChangedRights()
BlogPost::setFeatures()
BlogPost::update()
BlogPostManager::__construct()
BlogPostManager::getBlogCommentCopier()
BlogPostManager::getBlogPostCopier()
BlogPostManager::getBlogPostImplementer()
BlogPostManager::getContainerCollection()
BlogPostManager::getMapIdsCopiedPosts()
BlogPostManager::setChangedRights()
BlogPostManager::setFeatures()
BlogPostManager::startCopy()
BlogUser::GetUserName()
BlogUser::GetUserNameEx()
BlogUser::__construct()
BlogUser::addAvatarSize()
BlogUser::addNotExistingUsers()
BlogUser::cleanCache()
BlogUser::createCacheDir()
BlogUser::createCacheId()
BlogUser::getCommentAuthorsIdsByPostId()
BlogUser::getPostAuthorsIdsByBlogId()
BlogUser::getPostAuthorsIdsByDbFilter()
BlogUser::getUsers()
BlogUser::getUsersFromCache()
BlogUser::getUsersFromDB()
BlogUser::isUserGivenConsent()
BlogUser::onUserDelete()
BlogUser::setBlogId()
BlogUser::setCacheTime()
BlogUserTable::add()
BlogUserTable::delete()
BlogUserTable::getMap()
BlogUserTable::getTableName()
BlogUserTable::update()
BlogUserTable::validateAlias()
BlogUserTable::validateInterests()
Broadcast::checkMode()
Broadcast::getCount()
Broadcast::getData()
Broadcast::getOffModeRequested()
Broadcast::getOnModeRequested()
Broadcast::getValue()
Broadcast::offModeNeeded()
Broadcast::onBeforeConfirmNotify()
Broadcast::onModeNeeded()
Broadcast::send()
Broadcast::sendRequest()
Broadcast::setOffModeRequested()
Broadcast::setOnModeRequested()
Broadcast::setRequestedMode()
Broadcast::setValue()
CBlog::Add()
CBlog::AddSocnetRead()
CBlog::BuildRSS()
CBlog::BuildRSSAll()
CBlog::CanUserCreateBlog()
CBlog::CanUserManageBlog()
CBlog::CanUserViewBlogs()
CBlog::CheckFields()
CBlog::Delete()
CBlog::DeleteSocnetRead()
CBlog::GetBlogUserCommentPerms()
CBlog::GetBlogUserPostPerms()
CBlog::GetByID()
CBlog::GetByOwnerID()
CBlog::GetBySocNetGroupID()
CBlog::GetByUrl()
CBlog::GetFilterOperation()
CBlog::GetList()
CBlog::GetSocnetReadByBlog()
CBlog::GetWritableSocnetBlogs()
CBlog::IsBlogOwner()
CBlog::IsFriend()
CBlog::PreparePath()
CBlog::PrepareSql()
CBlog::SendPing()
CBlog::SetBlogPerms()
CBlog::SetStat()
CBlog::Update()
CBlogCandidate::Add()
CBlogCandidate::CheckFields()
CBlogCandidate::Delete()
CBlogCandidate::GetByID()
CBlogCandidate::GetList()
CBlogCandidate::Update()
CBlogCategory::Add()
CBlogCategory::CheckFields()
CBlogCategory::Delete()
CBlogCategory::GetByID()
CBlogCategory::GetList()
CBlogCategory::Update()
CBlogComment::Add()
CBlogComment::BuildRSS()
CBlogComment::BuildUFFields()
CBlogComment::CheckFields()
CBlogComment::Delete()
CBlogComment::DeleteLog()
CBlogComment::GetByID()
CBlogComment::GetList()
CBlogComment::GetMentionedUserID()
CBlogComment::GetSocNetCommentPerms()
CBlogComment::GetSocNetPostsPerms()
CBlogComment::GetSocNetUserPerms()
CBlogComment::GetSocNetUserPermsNew()
CBlogComment::Update()
CBlogComment::UpdateLog()
CBlogComment::_IndexPostComments()
CBlogComment::addLiveComment()
CBlogGroup::Add()
CBlogGroup::CheckFields()
CBlogGroup::Delete()
CBlogGroup::GetByID()
CBlogGroup::GetList()
CBlogGroup::Update()
CBlogImage::Add()
CBlogImage::AddImageCreateHandler()
CBlogImage::AddImageResizeHandler()
CBlogImage::CheckFields()
CBlogImage::Delete()
CBlogImage::GetByID()
CBlogImage::GetList()
CBlogImage::ImageCreateHandler()
CBlogImage::ImageFixSize()
CBlogImage::ImageResizeHandler()
CBlogImage::Update()
CBlogMetaWeblog::Authorize()
CBlogMetaWeblog::DecodeParams()
CBlogMetaWeblog::DeletePost()
CBlogMetaWeblog::EditPost()
CBlogMetaWeblog::GetCategories()
CBlogMetaWeblog::GetPost()
CBlogMetaWeblog::GetRecentPosts()
CBlogMetaWeblog::GetUserInfo()
CBlogMetaWeblog::GetUsersBlogs()
CBlogMetaWeblog::NewMediaObject()
CBlogMetaWeblog::NewPost()
CBlogNotifySchema::CBlogEventsIMCallback()
CBlogNotifySchema::OnGetNotifySchema()
CBlogNotifySchema::__construct()
CBlogPost::Add()
CBlogPost::AddSocNetPerms()
CBlogPost::CanUserDeletePost()
CBlogPost::CanUserEditPost()
CBlogPost::ChangeSocNetPermission()
CBlogPost::CheckFields()
CBlogPost::CounterInc()
CBlogPost::Delete()
CBlogPost::DeleteLog()
CBlogPost::DeleteSocNetPostPerms()
CBlogPost::GetBlogUserCommentPerms()
CBlogPost::GetBlogUserPostPerms()
CBlogPost::GetByID()
CBlogPost::GetID()
CBlogPost::GetList()
CBlogPost::GetListCalendar()
CBlogPost::GetMentionedUserID()
CBlogPost::GetPostID()
CBlogPost::GetSocNetGroups()
CBlogPost::GetSocNetPermsCode()
CBlogPost::GetSocNetPermsName()
CBlogPost::GetSocNetPostPerms()
CBlogPost::GetSocNetPostsPerms()
CBlogPost::Notify()
CBlogPost::NotifyIm()
CBlogPost::NotifyImPublish()
CBlogPost::NotifyImReady()
CBlogPost::NotifyMail()
CBlogPost::PreparePath()
CBlogPost::PreparePath2Post()
CBlogPost::SetPostPerms()
CBlogPost::Update()
CBlogPost::UpdateLog()
CBlogPost::UpdateSocNetPerms()
CBlogPost::__AddSocNetPerms()
CBlogPost::getFullGroupRoleSet()
CBlogPost::getSocNetPerms()
CBlogPost::processNotifyTitle()
CBlogPostCategory::Add()
CBlogPostCategory::CheckFields()
CBlogPostCategory::Delete()
CBlogPostCategory::DeleteByPostID()
CBlogPostCategory::GetByID()
CBlogPostCategory::GetList()
CBlogPostCategory::Update()
CBlogSearch::OnBeforeSocNetFeaturesPermsAdd()
CBlogSearch::OnBeforeSocNetFeaturesPermsUpdate()
CBlogSearch::OnSearchReindex()
CBlogSearch::SetSoNetFeatureIndexSearch()
CBlogSearch::SetSoNetFeaturePermIndexSearch()
CBlogSearch::Trace()
CBlogSearch::fillSearchParamsWithMentionData()
CBlogSearch::fillSearchPermsWithSonetGroupData()
CBlogSearch::setSoNetFeaturePermIndexSearchBefore()
CBlogSitePath::Add()
CBlogSitePath::CheckFields()
CBlogSitePath::Delete()
CBlogSitePath::DeleteBySiteID()
CBlogSitePath::GetByID()
CBlogSitePath::GetBySiteID()
CBlogSitePath::GetList()
CBlogSitePath::Update()
CBlogSmile::Add()
CBlogSmile::CheckFields()
CBlogSmile::Delete()
CBlogSmile::GetByID()
CBlogSmile::GetByIDEx()
CBlogSmile::GetLangByID()
CBlogSmile::GetList()
CBlogSmile::GetSmilesList()
CBlogSmile::Update()
CBlogSmile::getSmiles()
CBlogSoNetPost::CanUserDeletePost()
CBlogSoNetPost::OnGroupDelete()
CBlogTools::DeleteDoubleBR()
CBlogTools::GetDateTimeFormat()
CBlogTools::ResizeImage()
CBlogTools::blogUFfileEdit()
CBlogTools::blogUFfileShow()
CBlogTools::htmlspecialcharsExArray()
CBlogTrackback::Add()
CBlogTrackback::CheckFields()
CBlogTrackback::Delete()
CBlogTrackback::GetByID()
CBlogTrackback::GetList()
CBlogTrackback::GetPing()
CBlogTrackback::SendPing()
CBlogTrackback::SendPingResponce()
CBlogTrackback::Update()
CBlogUser::Add()
CBlogUser::AddToUserGroup()
CBlogUser::CanUserUpdateUser()
CBlogUser::CheckFields()
CBlogUser::Delete()
CBlogUser::DeleteFromUserGroup()
CBlogUser::GetByID()
CBlogUser::GetList()
CBlogUser::GetUserFriends()
CBlogUser::GetUserFriendsList()
CBlogUser::GetUserGroups()
CBlogUser::GetUserIP()
CBlogUser::GetUserInfo()
CBlogUser::GetUserInfoArray()
CBlogUser::GetUserName()
CBlogUser::GetUserNameEx()
CBlogUser::GetUserPerms()
CBlogUser::IsLocked()
CBlogUser::PreparePath()
CBlogUser::PreparePath2User()
CBlogUser::SetLastVisit()
CBlogUser::Update()
CBlogUserGroup::Add()
CBlogUserGroup::CheckFields()
CBlogUserGroup::Delete()
CBlogUserGroup::GetByID()
CBlogUserGroup::GetGroupPerms()
CBlogUserGroup::GetList()
CBlogUserGroup::SetGroupPerms()
CBlogUserGroup::Update()
CBlogUserGroupPerms::Add()
CBlogUserGroupPerms::CheckFields()
CBlogUserGroupPerms::Delete()
CBlogUserGroupPerms::GetByID()
CBlogUserGroupPerms::GetList()
CBlogUserGroupPerms::Update()
CBlogUserGroupPerms::__AutoSetPerms()
CBlogUserOptions::DeleteOption()
CBlogUserOptions::DeleteUsersOptions()
CBlogUserOptions::GetList()
CBlogUserOptions::GetOption()
CBlogUserOptions::OnUserDelete()
CBlogUserOptions::SetOption()
CBlogUserOptions::_clear_cache()
CRatingsComponentsBlog::CalcActivity()
CRatingsComponentsBlog::CalcComment()
CRatingsComponentsBlog::CalcPost()
CRatingsComponentsBlog::OnAfterAddRating()
CRatingsComponentsBlog::OnAfterUpdateRating()
CRatingsComponentsBlog::OnGetRatingConfigs()
CRatingsComponentsBlog::OnGetRatingContentOwner()
CRatingsComponentsBlog::OnGetRatingObject()
CRatingsComponentsBlog::__AssembleConfigDefault()
CRatingsComponentsBlog::__CheckFields()
Comment::__construct()
Comment::actionsAfter()
Comment::checkDuplicate()
Comment::getById()
Comment::getFields()
Comment::processCommentShare()
Comment::setFields()
CommentTable::add()
CommentTable::delete()
CommentTable::getMap()
CommentTable::getTableName()
CommentTable::getUfId()
CommentTable::update()
ContentViewHandler::getContentTypeIdList()
ContentViewHandler::onContentViewed()
ConversionHandlers::onGetCounterTypes()
ConversionHandlers::onGetRateTypes()
ConversionHandlers::onPostAdd()
CounterPost::increment()
Group::__construct()
Group::addToQueue()
Group::attachGroupToPost()
Group::copy()
Group::getBlogPostIdsByGroupId()
Group::getBlogPosts()
Group::getSonetBlogPostRights()
GroupStepper::deleteCurrentQueue()
GroupStepper::deleteOption()
GroupStepper::deleteQueueOption()
GroupStepper::execute()
GroupStepper::getBlogPostIdsByGroupId()
GroupStepper::getErrorOffset()
GroupStepper::getOffset()
GroupStepper::getOptionData()
GroupStepper::getQueue()
GroupStepper::getQueueOption()
GroupStepper::isQueueEmpty()
GroupStepper::saveQueueOption()
GroupStepper::setQueue()
LivefeedIndexComment::execute()
LivefeedIndexPost::execute()
Log::getEventIdList()
Log::onIndexGetContent()
LogComment::getEventIdList()
LogComment::onIndexGetContent()
MailHandler::handleForwardReceivedBlogPost()
MailHandler::handleReplyReceivedBlogPost()
Post::__construct()
Post::activateLogEntry()
Post::deactivateLogEntry()
Post::detectTags()
Post::getById()
Post::getFields()
Post::getId()
Post::getLogId()
Post::getSonetPerms()
Post::getTags()
Post::setFields()
Post::setId()
PostSocnetRights::get()
PostSocnetRights::set()
PostSocnetRightsTable::deleteByEntity()
PostSocnetRightsTable::getMap()
PostSocnetRightsTable::getTableName()
PostSocnetRightsTable::recalcGroupPostRights()
PostTable::add()
PostTable::delete()
PostTable::getMap()
PostTable::getTableName()
PostTable::getUfId()
PostTable::update()
Transformation::getStatus()
Util::getImageMaxHeight()
Util::getImageMaxWidth()
Util::sendBlogPing()
blog::DoInstall()
blog::DoUninstall()
blog::GetModuleRightList()
blog::InstallDB()
blog::InstallEvents()
blog::InstallFiles()
blog::InstallUserFields()
blog::UnInstallDB()
blog::UnInstallEvents()
blog::UnInstallFiles()
blog::UnInstallUserFields()
blog::blog()
blog::file_get_contents()
blog::installDiskUserFields()
blogTextParser::GetEditorToolbar()
blogTextParser::ParserBlogImage()
blogTextParser::ParserBlogImageBefore()
blogTextParser::ParserCut()
blogTextParser::ParserCutAfter()
blogTextParser::ParserTag()
blogTextParser::__construct()
blogTextParser::blogConvertVideo()
blogTextParser::convert()
blogTextParser::convert4im()
blogTextParser::convert4mail()
blogTextParser::convertBlogImage()
blogTextParser::convertBlogImageMail()
blogTextParser::convertBlogTag()
blogTextParser::convert_blog_image()
blogTextParser::convert_blog_tag()
blogTextParser::convert_open_tag()
blogTextParser::convert_to_rss()
blogTextParser::getEditorButtons()
blogTextParser::getEditorDefaultFeatures()
blogTextParser::getEditorExtendFeatures()
blogTextParser::killAllTags()
blogTextParser::render_user()