1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Folder
Граф наследования:Folder:
BaseTable

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

static deleteForSite (int $siteId)
static changeSiteIdRecursive (int $folderId, int $newSiteId)
static getSubFolderIds (int $folderId)
static getFolderIdsForSite (int $siteId, array $additionalFilter=[])
static getBreadCrumbs (int $folderId, ?int $siteId=null)
static getBreadCrumbsString (int $folderId, string $glue, ?int $siteId=null)
static getFullPath (int $folderId, ?int $siteId=null, array &$lastFolder=[])
Открытые статические члены унаследованные от BaseTable
static callback ($code, $callback)

Статические открытые данные

static $internalClass = 'FolderTable'
Статические открытые данные унаследованные от BaseTable
static $internalClass = null

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

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

Методы

◆ changeSiteIdRecursive()

changeSiteIdRecursive ( int $folderId,
int $newSiteId )
static

Changes SITE_ID for folder, all sub folders, all sub landings.

Аргументы
int$folderIdFolder id.
int$newSiteIdNew folder site id.
Возвращает
void

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

◆ deleteForSite()

deleteForSite ( int $siteId)
static

Deletes all folders for site.

Аргументы
int$siteIdSite id.
Возвращает
void

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

◆ getBreadCrumbs()

getBreadCrumbs ( int $folderId,
?int $siteId = null )
static

Returns breadcrumbs for folder of site.

Аргументы
int$folderIdFolder id.
int | null$siteIdSite id (optional, but desirable for optimisation).
Возвращает
array

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

◆ getBreadCrumbsString()

getBreadCrumbsString ( int $folderId,
string $glue,
?int $siteId = null )
static

Returns breadcrumbs for folder of site as string.

Аргументы
int$folderIdFolder id.
string$glueGlue for implode breadcrumbs.
int | null$siteIdSite id (optional, but desirable for optimisation).
Возвращает
string

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

◆ getFolderIdsForSite()

getFolderIdsForSite ( int $siteId,
array $additionalFilter = [] )
static

Returns site's folders id.

Аргументы
int$siteIdSite id.
array$additionalFilterOptional additional filter.
Возвращает
array

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

◆ getFullPath()

getFullPath ( int $folderId,
?int $siteId = null,
array & $lastFolder = [] )
static

Returns folder's full path with parents folders.

Аргументы
int$folderIdFolder id.
int | null$siteIdSite id (optional, but desirable for optimisation).
array&$lastFolderLast folder item.
Возвращает
string

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

◆ getSubFolderIds()

getSubFolderIds ( int $folderId)
static

Recursively collects all subfolder ids for specific folder.

Аргументы
int$folderIdFolder id.
Возвращает
array

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

Поля

◆ $internalClass

$internalClass = 'FolderTable'
static

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


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