1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CWikiUtils

Открытые статические члены

static getRightsLinks ($arPage)
static IsReadable ()
static IsWriteable ()
static isAllowHTML ()
static IsDeleteable ()
static CheckAccess ($access='view')
static CheckServicePage ($NAME, &$SERVICE_NAME)
static IsCategoryPage ($NAME, &$CATEGORY_NAME)
static OnBeforeIndex ($arFields)
static GetUserLogin ($arUserData=array(), $nameTemplate="")
static htmlspecialcharsback ($str, $end=true)
static htmlspecialchars_decode ($str)
static SetCommentPath ($forumID, $rightPath, $urlRewriterPath)
static GetCommentPath ($forumID)
static UnlocalizeCategoryName ($categoryName)
static GetTagsAsLinks ($arTags)
static isCategoryVirtual ($name)
static isVirtualCategoryExist ($categoryName)

Подробное описание

См. определение в файле wiki_utils.php строка 5

Методы

◆ CheckAccess()

CheckAccess ( $access = 'view')
static

См. определение в файле wiki_utils.php строка 235

◆ CheckServicePage()

CheckServicePage ( $NAME,
& $SERVICE_NAME )
static

См. определение в файле wiki_utils.php строка 270

◆ GetCommentPath()

GetCommentPath ( $forumID)
static

Gets right search path for comments, http://jabber.bx/view.php?id=25340

Аргументы
int$forumID- forum's ID were comments saving (for example $arParams['FORUM_ID'])
Возвращает
array( $siteID => $forumURL )

См. определение в файле wiki_utils.php строка 460

◆ getRightsLinks()

getRightsLinks ( $arPage)
static

$arLinks['access'] = array( 'NAME' => GetMessage('PAGE_ACCESS'), 'TITLE' => GetMessage('PAGE_ACCESS_TITLE'), 'CURRENT' => in_array('access', $arPage), 'LINK' => CHTTP\urlAddParams( CComponentEngine::MakePathFromTemplate($arParams['PATH_TO_POST_EDIT'], array( 'wiki_name' => $arParams['ELEMENT_NAME'], 'group_id' => CWikiSocnet\$iSocNetId ) ), array($arParams['OPER_VAR'] => 'access') ), 'ID' => 'access', 'TYPE' => 'edit', 'IS_RED' => 'N' );

См. определение в файле wiki_utils.php строка 7

◆ GetTagsAsLinks()

GetTagsAsLinks ( $arTags)
static

См. определение в файле wiki_utils.php строка 483

◆ GetUserLogin()

GetUserLogin ( $arUserData = array(),
$nameTemplate = "" )
static

См. определение в файле wiki_utils.php строка 372

◆ htmlspecialchars_decode()

htmlspecialchars_decode ( $str)
static

См. определение в файле wiki_utils.php строка 409

◆ htmlspecialcharsback()

htmlspecialcharsback ( $str,
$end = true )
static

См. определение в файле wiki_utils.php строка 399

◆ isAllowHTML()

isAllowHTML ( )
static

См. определение в файле wiki_utils.php строка 219

◆ IsCategoryPage()

IsCategoryPage ( $NAME,
& $CATEGORY_NAME )
static

См. определение в файле wiki_utils.php строка 291

◆ isCategoryVirtual()

isCategoryVirtual ( $name)
static

См. определение в файле wiki_utils.php строка 506

◆ IsDeleteable()

IsDeleteable ( )
static

См. определение в файле wiki_utils.php строка 230

◆ IsReadable()

IsReadable ( )
static

См. определение в файле wiki_utils.php строка 209

◆ isVirtualCategoryExist()

isVirtualCategoryExist ( $categoryName)
static

См. определение в файле wiki_utils.php строка 517

◆ IsWriteable()

IsWriteable ( )
static

См. определение в файле wiki_utils.php строка 214

◆ OnBeforeIndex()

OnBeforeIndex ( $arFields)
static

См. определение в файле wiki_utils.php строка 297

◆ SetCommentPath()

SetCommentPath ( $forumID,
$rightPath,
$urlRewriterPath )
static

Sets right search path for comments, likes etc. http://jabber.bx/view.php?id=25340

Аргументы
int$forumID- forum's ID were comments saving (for example $arParams['FORUM_ID'])
str$rightPath- wich path must leads to the comment ( for example: "/comment/#MESSAGE_ID#/" )
str$urlRewriterPath- wich path leads to curent module (complex component) ( for example: "/services/wiki.php" )
Возвращает
bool true|false

См. определение в файле wiki_utils.php строка 424

◆ UnlocalizeCategoryName()

UnlocalizeCategoryName ( $categoryName)
static

См. определение в файле wiki_utils.php строка 478


Объявления и описания членов класса находятся в файле: