1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Пространство имен Bitrix\UI\EntityEditor

Структуры данных

class  Action
class  BaseProvider
interface  ReturnsEditorFields

Функции

 getUfEntityId ()
 getUfPrefix ()
 getFields ()
 getUfComponentFields ()
 getUfEntityFields ()
 fillUfEntityFields (array $fields)
 fillUfEntityData (array $entityData)
 getUfEntityData ()

Переменные

trait ProviderWithUserFieldsTrait

Функции

◆ fillUfEntityData()

fillUfEntityData ( array $entityData)
protected

Filling in entity data of UF data.

Example:

public function getEntityData(): array
{
$result = [];
// ...fill values of entity fields...
return $result;
}
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14
fillUfEntityData(array $entityData)
Аргументы
array$entityData
Возвращает
array

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

◆ fillUfEntityFields()

fillUfEntityFields ( array $fields)
protected

Filling in the entity fields of UF data.

Example:

public function getEntityFields(): array
{
$fields = [
[
'name' => 'TITLE',
],
// ...
];
return $fields;
}
fillUfEntityFields(array $fields)
$fields
Определения yandex_run.php:501
Аргументы
array$fields
Возвращает
array

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

◆ getFields()

getFields ( )

Override BaseProvider method.

См. также
\Bitrix\UI\EntityEditor\BaseProvider
Возвращает
array

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

◆ getUfComponentFields()

getUfComponentFields ( )
protected

Component params.

Возвращает
array

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

◆ getUfEntityData()

getUfEntityData ( )
protected

Returns formatted values for the ENTITY_DATA parameter.

Аргументы
array$field
Возвращает
array

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

◆ getUfEntityFields()

getUfEntityFields ( )
protected

Entity fields info of user fields.

См. также
\Bitrix\UI\EntityEditor\BaseProvider method getEntityFields
Возвращает
array

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

◆ getUfEntityId()

getUfEntityId ( )
abstract

User field ENTITY_ID

Возвращает
string

◆ getUfPrefix()

getUfPrefix ( )
abstract

The prefix for UF codes

Возвращает
string

Переменные

◆ ProviderWithUserFieldsTrait

trait ProviderWithUserFieldsTrait
Инициализатор
{
protected $userFieldInfos = null

A trait to expand the functionality of the provider and the ability to work with UF fields.

For start, you need:

  1. implement method getUfEntityId
  2. append UF info to entity fields - see method ::fillUfEntityFields
  3. append UF values to entity data - see method ::fillUfEntityData

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