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

Пространства имен

namespace  Collection

Функции

 setDataEntity (EntityObject $dataObject)
 resetDataEntity (array $preselectedFields=[])
 initByDefault ()
 initByDataEntity (EntityObject $dataObject, ?array $fieldsMask=null)
 initByArray (array $source)
 hasPrimary (array $source)
 save ()
 updateState (?array $fieldsToFill=null)
 delete ()
 markChanged (?bool $state=null)
 isChanged ()
 markDrop ()
 isDeleted ()
 fillActual (array $fieldsToFill)
 fill (array $source)
 onAfterOrmUpdate (array $fields)
 toArray (bool $recursive=false)
 withContext (?Context $context)
 withContextUser ($user)
 setContext (?Context $context)
 setContextUser ($user)
 getContext ()
 setRegistry (Registry $registry)
 getRegistry ()
 __clone ()
 __wakeup ()

Переменные

trait ActiveRecordImplementation
bool $isChanged = true
bool $markedDrop = false
trait ContextCustomer
trait DeadlockResolver
trait IndexTableTrait
trait MigrationStatusCheckerTrait
trait MultiplyInsertTrait
trait PeriodAgentTrait
trait RegistryEntryImplementation
trait SingletonTrait

Функции

◆ __clone()

__clone ( )

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

◆ __wakeup()

__wakeup ( )

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

◆ delete()

delete ( )
Возвращает
Result

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

◆ fill()

fill ( array $source)

Fills object's fields with provided values.

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

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

◆ fillActual()

fillActual ( array $fieldsToFill)

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

◆ getContext()

getContext ( )

Returns the local or global context for the action.

Возвращает
Context

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

◆ getRegistry()

getRegistry ( )

Return link of the object's registry.

Возвращает
Registry|null

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

◆ hasPrimary()

hasPrimary ( array $source)
protected

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

◆ initByArray()

initByArray ( array $source)
protected
Аргументы
array$source
Возвращает
Result

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

◆ initByDataEntity()

initByDataEntity ( EntityObject $dataObject,
?array $fieldsMask = null )
protected
Аргументы
EntityObject$dataObject
Возвращает
Result

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

◆ initByDefault()

initByDefault ( )
protected
Возвращает
void

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

◆ isChanged()

isChanged ( )

Tells true if object has been changed.

Возвращает
bool

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

◆ isDeleted()

isDeleted ( )

Tells true if object marked to drop.

Возвращает
bool

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

◆ markChanged()

markChanged ( ?bool $state = null)

Marks object changed.

Возвращает
static

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

◆ markDrop()

markDrop ( )

Marks object to drop on save.

Возвращает
static

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

◆ onAfterOrmUpdate()

onAfterOrmUpdate ( array $fields)

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

◆ resetDataEntity()

resetDataEntity ( array $preselectedFields = [])
protected

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

◆ save()

save ( )
Возвращает
Result

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

◆ setContext()

setContext ( ?Context $context)

Sets new context for operations.

Аргументы
Context | null$context
Возвращает
self

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

◆ setContextUser()

setContextUser ( $user)

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

◆ setDataEntity()

setDataEntity ( EntityObject $dataObject)
protected
Аргументы
EntityObject$dataObject
Возвращает
static

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

◆ setRegistry()

setRegistry ( Registry $registry)
Аргументы
Registry$registry
Возвращает
self

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

◆ toArray()

toArray ( bool $recursive = false)

Returns object state as array.

Возвращает
array

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

◆ updateState()

updateState ( ?array $fieldsToFill = null)
protected

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

◆ withContext()

withContext ( ?Context $context)

Provides local context for the action.

Аргументы
Context | null$context
Возвращает
static

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

◆ withContextUser()

withContextUser ( $user)

Provides local context for the action.

Аргументы
int | User | \Bitrix\Im\V2\Entity\User\User$user
Возвращает
static

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

Переменные

◆ $isChanged

bool $isChanged = true
protected

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

◆ $markedDrop

bool $markedDrop = false
protected

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

◆ ActiveRecordImplementation

trait ActiveRecordImplementation
Инициализатор
{
protected $dataObject

Implementation of the interface

См. также
\Bitrix\Im\V2\ActiveRecord

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

◆ ContextCustomer

trait ContextCustomer
Инициализатор
{
protected ?Context $context = null
$context
Определения csv_new_setup.php:223
Определения culture.php:9

Provides context for the action.

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

◆ DeadlockResolver

trait DeadlockResolver
Инициализатор
{
protected static int $defaultMaxTryCount = 3

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

◆ IndexTableTrait

trait IndexTableTrait
Инициализатор
{
trait MultiplyInsertTrait
Определения MultiplyInsertTrait.php:8

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

◆ MigrationStatusCheckerTrait

trait MigrationStatusCheckerTrait
Инициализатор
{
protected static string $moduleId = 'im'
$moduleId

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

◆ MultiplyInsertTrait

trait MultiplyInsertTrait
Инициализатор
{
trait DeadlockResolver
Определения DeadlockResolver.php:10

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

◆ PeriodAgentTrait

trait PeriodAgentTrait
Инициализатор
{
private static array $wasPeriodUpdated = []
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804

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

◆ RegistryEntryImplementation

trait RegistryEntryImplementation
Инициализатор
{
protected ?Registry $registry = null

Implementation of the interface

См. также
\Bitrix\Im\V2\RegistryEntry

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

◆ SingletonTrait

trait SingletonTrait
Инициализатор
{
protected static ?self $instance = null
$instance
Определения ps_b24_final.php:14

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