|
| __construct () |
| Add ($arFields) |
| Update ($ID, $arFields) |
| Recover ($HISTORY_ID, $ID, $IBLOCK_ID) |
| UpdateHistory ($ID, $IBLOCK_ID, $modifyComment=false) |
| UpdateCategory ($ID, $IBLOCK_ID, $arCats) |
| Delete ($ID, $IBLOCK_ID) |
| AddImage ($ID, $IBLOCK_ID, $arImage) |
| DeleteImage ($IMAGE_ID, $ID, $IBLOCK_ID) |
| Rename ($ID, $arFields, $bUpdateSearch=true) |
| RenameLinkOnPages ($iBlockId, $oldName, $newName, $iBlockSectId=false) |
| RenameCategoryOnPage ($pageText, $oldCategoryName, $newCategoryName) |
| getErrors () |
| CleanCacheById ($ID, $iBlockId=false) |
| CleanCache ($ID=false, $Name=false, $iBlockId=false) |
|
static | SetDefaultPage ($IBLOCK_ID, $NAME) |
static | GetDefaultPage ($IBLOCK_ID) |
static | GetCategory ($NAME, $IBLOCK_ID) |
static | GetElementById ($ID, $arFilter) |
static | GetElementByName ($NAME, $arFilter, $arComponentParams=array()) |
static | UnMarkPageAsUpdated ($iBlockId, $iSocCatId, $name) |
static | IsPageUpdated ($iBlockId, $iSocCatId, $name, $cacheTime=self::CWIKI_CACHE_TTL) |
См. определение в файле wiki.php строка 9
◆ __construct()
◆ Add()
◆ AddImage()
AddImage |
( |
| $ID, |
|
|
| $IBLOCK_ID, |
|
|
| $arImage ) |
◆ CleanCache()
◆ CleanCacheById()
CleanCacheById |
( |
| $ID, |
|
|
| $iBlockId = false ) |
◆ Delete()
Delete |
( |
| $ID, |
|
|
| $IBLOCK_ID ) |
◆ DeleteImage()
DeleteImage |
( |
| $IMAGE_ID, |
|
|
| $ID, |
|
|
| $IBLOCK_ID ) |
◆ GetCategory()
GetCategory |
( |
| $NAME, |
|
|
| $IBLOCK_ID ) |
|
static |
◆ GetDefaultPage()
GetDefaultPage |
( |
| $IBLOCK_ID | ) |
|
|
static |
◆ GetElementById()
GetElementById |
( |
| $ID, |
|
|
| $arFilter ) |
|
static |
- Аргументы
-
- Возвращает
- array
См. определение в файле wiki.php строка 764
◆ GetElementByName()
GetElementByName |
( |
| $NAME, |
|
|
| $arFilter, |
|
|
| $arComponentParams = array() ) |
|
static |
- Аргументы
-
string | $NAME | (mandatory) - the name of page |
array | $arFilter | (mandatory) - the filter for CIBlockElement::GetList |
array | $arComponentParams | (optional) - params of the calling wiki component using indexes: CACHE_TIME, PATH_TO_SEARCH, IN_COMPLEX, SEF_MODE, OPER_VAR, ELEMENT_NAME necessary for: building search tag links |
- Возвращает
- array
См. определение в файле wiki.php строка 820
◆ getErrors()
- Возвращает
- \Bitrix\Main\ErrorCollection
См. определение в файле wiki.php строка 935
◆ IsPageUpdated()
IsPageUpdated |
( |
| $iBlockId, |
|
|
| $iSocCatId, |
|
|
| $name, |
|
|
| $cacheTime = self::CWIKI_CACHE_TTL ) |
|
static |
◆ Recover()
Recover |
( |
| $HISTORY_ID, |
|
|
| $ID, |
|
|
| $IBLOCK_ID ) |
◆ Rename()
Rename |
( |
| $ID, |
|
|
| $arFields, |
|
|
| $bUpdateSearch = true ) |
◆ RenameCategoryOnPage()
RenameCategoryOnPage |
( |
| $pageText, |
|
|
| $oldCategoryName, |
|
|
| $newCategoryName ) |
◆ RenameLinkOnPages()
RenameLinkOnPages |
( |
| $iBlockId, |
|
|
| $oldName, |
|
|
| $newName, |
|
|
| $iBlockSectId = false ) |
Renames inner links, and categories on wiki pages alternatively you must do that manualy, after page, or catgory was renamed.
- Аргументы
-
int | $iBlockId | (mandatory)- id of iblock witch contain page, or category. |
str | $oldName | (mandatory)- old page or category name. |
str | $newName | (mandatory)- new page or category name. |
int | $iBlockSectId | (optional) - id of iBlock section witch contain page, or category. if wiki used with socnet groups, this param must be setted, otherwise all pages of all soc. groups will be changed. |
- Возвращает
- int the amount of changed pages.
См. определение в файле wiki.php строка 502
◆ SetDefaultPage()
SetDefaultPage |
( |
| $IBLOCK_ID, |
|
|
| $NAME ) |
|
static |
◆ UnMarkPageAsUpdated()
UnMarkPageAsUpdated |
( |
| $iBlockId, |
|
|
| $iSocCatId, |
|
|
| $name ) |
|
static |
◆ Update()
Update |
( |
| $ID, |
|
|
| $arFields ) |
◆ UpdateCategory()
UpdateCategory |
( |
| $ID, |
|
|
| $IBLOCK_ID, |
|
|
| $arCats ) |
◆ UpdateHistory()
UpdateHistory |
( |
| $ID, |
|
|
| $IBLOCK_ID, |
|
|
| $modifyComment = false ) |
◆ $cIB_E
◆ $errorCollection
◆ CWIKI_CACHE_TTL
const CWIKI_CACHE_TTL = 36000000 |
◆ GET_BY_NAME_CACHE_ID
const GET_BY_NAME_CACHE_ID = "WIKI_BY_NAME_CACHE_ID_" |
◆ PAGE_UPDATED_CACHE_ID
const PAGE_UPDATED_CACHE_ID = "WIKI_PAGE_UPDATED_" |
Объявления и описания членов класса находятся в файле:
- C:/bitrix/modules/wiki/classes/general/wiki.php