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

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

static getSiteIdByGroupId (int $groupId)
static recognizeSiteTitle (array $input)
Открытые статические члены унаследованные от Entity
static get ($entityName)
static has ($entityName)
static getInstance ($entityName)
static getDefaultObjectClassName ($entityName)
static getDefaultCollectionClassName ($entityName)
static isExists ($name)
static normalizeEntityClass ($entityName)
static getEntityClassParts ($class)
static camel2snake ($str)
static snake2camel ($str)
static normalizeName ($entityName)
static compileObjectClass ($dataClass)
static compileCollectionClass ($dataClass)
static destroy ($entity)
static onUserTypeChange ($userfield, $id=null)

Поля данных

const ROLE_TYPE = 'GROUP'
Поля данных унаследованные от Entity
const DEFAULT_OBJECT_PREFIX = 'EO_'

Защищенные члены

 addSiteRights (int $siteId, array $groupRoles=[])
 updateSiteRights (int $siteId)
 removeSiteRights ($siteId)
Защищенные члены унаследованные от Entity
 appendField (Field $field)
 getCacheDir ()

Защищенные статические члены

static getAccessTasks (bool $fullData=false)
static getRoleId ()

Статические защищенные данные

static $bindingType = 'G'
Статические защищенные данные унаследованные от Entity
static $instances
static $ufIdIndex = []

Дополнительные унаследованные члены

Открытые члены унаследованные от Entity
 initializeField ($fieldName, $fieldInfo)
 reinitialize ($className)
 postInitialize ()
 getObjectClass ()
 getObjectClassName ()
 getCollectionClass ()
 getCollectionClassName ()
 createObject ($setDefaultValues=true)
 createCollection ()
 wakeUpObject ($row)
 wakeUpCollection ($rows)
 addField ($fieldInfo, $fieldName=null)
 getReferencesCountTo ($refEntityName)
 getReferencesTo ($refEntityName)
 getFields ()
 getField ($name)
 hasField ($name)
 getScalarFields ()
 getUField ($name)
 getName ()
 getFullName ()
 getNamespace ()
 getModule ()
 getDataClass ()
 getDBTableName ()
 getPrimary ()
 getPrimaryArray ()
 getAutoIncrement ()
 isUts ()
 isUtm ()
 getUfId ()
 setDefaultScope ($query)
 getCode ()
 getLangCode ()
 getTitle ()
 __clone ()
 createDbTable ()
 readFromCache ($ttl, $cacheId, $countTotal=false)
 writeToCache (Main\DB\Result $result, $cacheId, $countTotal=false)
 getCacheTtl ($ttl)
 cleanCache ()
 enableFullTextIndex ($field, $mode=true)
 fullTextIndexEnabled ($field)
Защищенные данные унаследованные от Entity
 $className
 $module
 $name
 $connectionName
 $dbTableName
 $primary
 $autoIncrement
 $uf_id
 $isUts
 $isUtm
 $fields
 $fieldsMap
 $u_fields
 $code
 $references
 $isClone = false

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

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

Методы

◆ addSiteRights()

addSiteRights ( int $siteId,
array $groupRoles = [] )
protected

Invokes when bind group was occurred.

Аргументы
int$siteIdSite id.
array$groupRolesReference map between access names and group roles (not landing roles!).
Возвращает
void

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

◆ getAccessTasks()

getAccessTasks ( bool $fullData = false)
staticprotected

Returns tasks for access.

Аргументы
bool$fullDataReturns full data not ids only.
Возвращает
array

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

◆ getRoleId()

getRoleId ( )
staticprotected

Returns role id for access to new site.

Возвращает
int

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

◆ getSiteIdByGroupId()

getSiteIdByGroupId ( int $groupId)
static

By group id returns binding site id.

Аргументы
int$groupIdGroup id.
Возвращает
int|null

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

◆ recognizeSiteTitle()

recognizeSiteTitle ( array $input)
static

Accepts array with site data and replaces site title to group title.

Аргументы
array$inputSite data ([ID] at least).
Возвращает
array

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

◆ removeSiteRights()

removeSiteRights ( $siteId)
protected

Call when unbinding group.

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

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

◆ updateSiteRights()

updateSiteRights ( int $siteId)
protected

Invokes when rebind group was occurred.

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

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

Поля

◆ $bindingType

$bindingType = 'G'
staticprotected

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

◆ ROLE_TYPE

const ROLE_TYPE = 'GROUP'

Type of role for group's type.

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/landing/lib/binding/group.php