См. определение в файле socialnetwork.php строка 16
◆ canCreateNewBinding()
| canCreateNewBinding |
( |
int | $groupId | ) |
|
|
static |
Returns true if current user for specified sonet group can create new binding.
- Аргументы
-
- Возвращает
- bool
См. определение в файле socialnetwork.php строка 402
◆ canPerformOperation()
| canPerformOperation |
( |
int | $groupId, |
|
|
string | $operation ) |
|
static |
Returns true if current user for specified sonet group can perform specified operation.
- Аргументы
-
| int | $groupId | Group id. |
| string | $operation | Operation code. |
- См. также
- \Bitrix\Landing\Rights::ACCESS_TYPES
- Возвращает
- bool
См. определение в файле socialnetwork.php строка 380
◆ getBindingRow()
| getBindingRow |
( |
int | $groupId, |
|
|
bool | $checkAccess = true ) |
|
static |
Gets binding row by group id.
- Аргументы
-
| int | $groupId | Group id. |
| bool | $checkAccess | Check read access. |
- Возвращает
- array
См. определение в файле socialnetwork.php строка 40
◆ getSocNetMenuTitle()
| getSocNetMenuTitle |
( |
| $groupId | ) |
|
|
static |
Returns title knowledge of group.
- Аргументы
-
- Возвращает
- string
См. определение в файле socialnetwork.php строка 127
◆ getSocNetMenuUrl()
| getSocNetMenuUrl |
( |
| $groupId, |
|
|
| $returnCreateLink = true ) |
|
static |
Builds and returns social group menu link.
- Аргументы
-
| int | $groupId | Group id. |
| bool | $returnCreateLink | If true and link is no exist, returns create link. |
- Возвращает
- string
См. определение в файле socialnetwork.php строка 75
◆ getTabUrl()
| getTabUrl |
( |
int | $groupId, |
|
|
?string | $pagePath = null, |
|
|
bool | $generalPath = false ) |
|
static |
Returns group path by id.
- Аргументы
-
| int | $groupId | Group id. |
| string | null | $pagePath | Page of landing. |
| bool | $generalPath | Returns only general path of group. |
- Возвращает
- string
См. определение в файле socialnetwork.php строка 312
◆ isExtranet()
Returns true, if current site is extranet.
- Возвращает
- bool
См. определение в файле socialnetwork.php строка 270
◆ onFillSocNetFeaturesList()
| onFillSocNetFeaturesList |
( |
& | $socNetFeaturesSettings | ) |
|
|
static |
Fill settings array for social network group.
- Аргументы
-
| array | &$socNetFeaturesSettings | Settings array. |
- Возвращает
- void
См. определение в файле socialnetwork.php строка 144
◆ onFillSocNetMenu()
| onFillSocNetMenu |
( |
& | $result | ) |
|
|
static |
Fill menu array for social network group.
- Аргументы
-
- Возвращает
- void
См. определение в файле socialnetwork.php строка 204
◆ onSocNetFeaturesUpdate()
| onSocNetFeaturesUpdate |
( |
int | $id, |
|
|
array | $fields ) |
|
static |
Invokes when changing §permissions of socialnetwork group is occurred.
- Аргументы
-
| int | $id | Feature id. |
| array | $fields | Feature fields. |
- Возвращает
- void
См. определение в файле socialnetwork.php строка 181
◆ onSocNetGroupDelete()
| onSocNetGroupDelete |
( |
| $groupId | ) |
|
|
static |
On social network group delete.
- Аргументы
-
- Возвращает
- void
См. определение в файле socialnetwork.php строка 413
◆ processTabHit()
If current hit is for opening url.
- Аргументы
-
| string | $url | Url for opening. |
- Возвращает
- void
См. определение в файле socialnetwork.php строка 285
◆ userInGroup()
| userInGroup |
( |
int | $groupId | ) |
|
|
static |
Returns true, if current user is member of group.
- Аргументы
-
- Возвращает
- bool
См. определение в файле socialnetwork.php строка 359
◆ PATH_GROUP_BINDING
| const PATH_GROUP_BINDING = 'kb/binding/group/create.php?groupId=#groupId#' |
◆ SETTINGS_CODE
| const SETTINGS_CODE = 'landing_knowledge' |
◆ SETTINGS_CODE_SHORT
| const SETTINGS_CODE_SHORT = 'knowledge' |
Объявления и описания членов класса находятся в файле: