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

Открытые члены

 needDeleteOnRefresh ()
 normalizeValue ($name, $value)
 save ()
 setValueFromPost (array $post)
 checkValue ($key, $value)
 checkRequiredValue ($key, $value)
 getProperty ()
 getPropertyObject ()
 getValueId ()
 getPropertyId ()
 getPersonTypeId ()
 getGroupId ()
 getName ()
 getRelations ()
 getDescription ()
 getType ()
 isRequired ()
 isUtil ()
 setValue ($value)
 getViewHtml ()
 getEditHtml ()
 getValue ()
Открытые члены унаследованные от CollectableEntity
 setCollection (EntityCollection $collection)
 getCollection ()
 setInternalIndex ($index)
 getInternalIndex ()
 isStartField ($isMeaningfulField=false)
 clearStartField ()
 hasMeaningfulField ()
 doFinalAction ($hasMeaningfulField=false)
 setMathActionOnly ($value=false)
 isMathActionOnly ()
 isClone ()
Открытые члены унаследованные от Entity
 __construct ()
 fetch (Main\Text\Converter $converter=null)

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

static generateXmlId ()
static create (EntityPropertyValueCollection $collection, array $property=[])
static getAvailableFields ()
static getRegistryType ()
static getRegistryEntity ()
static getList (array $parameters=[])
static loadForEntity (Entity $entity)
static getTableEntity ()
Открытые статические члены унаследованные от Entity
static getEntity ()
static getRow (array $parameters)
static clearCache ()
static add (array $data)
static update ($id, array $data)
static delete ($id)
static setCacheItem ($id, array $row)
static getCacheItem ($id, bool $load=false)
static clearCacheItem ($id)
static getTabletClassName ()
static getTabletFieldNames (int $fields=self::FIELDS_MAIN)
static getCachedFieldList ()
static getCallbackRestEvent ()
static clearSettings ()

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

 __construct (array $property=null, array $value=[], array $relation=null)
 update ()
 callEventOnPropertyValueEntitySaved ()
 addInternal (array $data)
 updateInternal ($primary, array $data)
Защищенные члены унаследованные от CollectableEntity
 onFieldModify ($name, $oldValue, $value)
Защищенные члены унаследованные от Entity
 getTablet ()

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

static getEntityType ()
static getPropertyClassName ()
static createPropertyValueObject (array $property=null, array $value=[], array $relation=null)
static getOnSavedEventName ()
static extractPaySystemIdList (Entity $entity)
static extractDeliveryIdList (Entity $entity)
static extractTpLandingIdList (Entity $entity)
static extractTradingPlatformIdList (Entity $entity)
static constructPropertyFilter (Entity $entity)
static hasPresetForLanding (Entity $entity)
static hasPresetFotTradingPlatform (Entity $entity)
static constructPropertyRelatedEntitiesFilter (Entity $entity)
static getRelationRuntimeFields ()
static createPropertyValuesObjects (array $properties, array $propertyValues, array $propRelation, array $propertyValuesMap)
static getFieldsMap ()
static getMeaningfulFields ()
Защищенные статические члены унаследованные от Entity
static prepareForAdd (ORM\Data\AddResult $result, $id, array &$data)
static prepareForUpdate (ORM\Data\UpdateResult $result, $id, array &$data)
static deleteNoDemands ($id)
static normalize (array &$data)
static runAddExternalActions ($id, array $data)
static runUpdateExternalActions ($id, array $data)
static runDeleteExternalActions ($id)
static getDefaultCachedFieldList ()
static prepareFloatValue ($value)
static prepareIntValue ($value)
static prepareStringValue ($value)

Защищенные данные

 $property = null
Защищенные данные унаследованные от CollectableEntity
 $collection
 $internalIndex = null
 $isClone = false

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

Поля данных унаследованные от Entity
const PREFIX_OLD = 'OLD_'
const EVENT_ON_BUILD_CACHED_FIELD_LIST = 'OnBuildCachedFieldList'
const FIELDS_MAIN = 0x0001
const FIELDS_UF = 0x0002
const FIELDS_ALL = self::FIELDS_MAIN|self::FIELDS_UF

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

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

Конструктор(ы)

◆ __construct()

__construct ( array $property = null,
array $value = [],
array $relation = null )
protected

EntityPropertyValue constructor.

Аргументы
array | null$property
array | null$value
array | null$relation
Исключения
Main

SystemException|Main\LoaderException

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

Методы

◆ addInternal()

addInternal ( array $data)
protected
Аргументы
array$data
Возвращает
Main\Entity\AddResult
Исключения

Exception

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

◆ callEventOnPropertyValueEntitySaved()

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

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

◆ checkRequiredValue()

checkRequiredValue ( $key,
$value )
Аргументы
$key
$value
Возвращает
Result
Исключения
Main

SystemException

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

◆ checkValue()

checkValue ( $key,
$value )
Аргументы
$key
$value
Возвращает
Result
Исключения
Main

SystemException

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

◆ constructPropertyFilter()

constructPropertyFilter ( Entity $entity)
staticprotected

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

◆ constructPropertyRelatedEntitiesFilter()

constructPropertyRelatedEntitiesFilter ( Entity $entity)
staticprotected
Аргументы
Entity$entity
Возвращает
array

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

◆ create()

create ( EntityPropertyValueCollection $collection,
array $property = [] )
static
Аргументы
EntityPropertyValueCollection$collection
array$property
Возвращает
mixed
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

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

◆ createPropertyValueObject()

createPropertyValueObject ( array $property = null,
array $value = [],
array $relation = null )
staticabstractprotected
Аргументы
array | null$property
array | null$value
array | null$relation
Возвращает
EntityPropertyValue
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

Переопределяется в PropertyValueBase и ShipmentPropertyValue.

◆ createPropertyValuesObjects()

createPropertyValuesObjects ( array $properties,
array $propertyValues,
array $propRelation,
array $propertyValuesMap )
staticprotected
Аргументы
array$properties
array$propertyValues
array$propRelation
array$propertyValuesMap
Возвращает
array
Исключения
Main

ArgumentException

Исключения
Main

NotImplementedException

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

◆ extractDeliveryIdList()

extractDeliveryIdList ( Entity $entity)
staticprotected

Переопределяется в PropertyValue, PropertyValueBase и ShipmentPropertyValue.

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

◆ extractPaySystemIdList()

extractPaySystemIdList ( Entity $entity)
staticprotected

Переопределяется в PropertyValue и PropertyValueBase.

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

◆ extractTpLandingIdList()

extractTpLandingIdList ( Entity $entity)
staticprotected

Переопределяется в PropertyValue и ShipmentPropertyValue.

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

◆ extractTradingPlatformIdList()

extractTradingPlatformIdList ( Entity $entity)
staticprotected

Переопределяется в PropertyValue и ShipmentPropertyValue.

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

◆ generateXmlId()

generateXmlId ( )
static
Возвращает
string

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

◆ getAvailableFields()

getAvailableFields ( )
static
Возвращает
array

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

◆ getDescription()

getDescription ( )
Возвращает
mixed

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

◆ getEditHtml()

getEditHtml ( )
Возвращает
string
Исключения
Main

SystemException

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

◆ getEntityType()

getEntityType ( )
staticabstractprotected
Возвращает
string Registry::ENTITY_SHIPMENT or Registry::ENTITY_ORDER

Переопределяется в PropertyValueBase и ShipmentPropertyValue.

◆ getFieldsMap()

getFieldsMap ( )
staticprotected
Возвращает
array

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

◆ getGroupId()

getGroupId ( )
Возвращает
mixed

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

◆ getList()

getList ( array $parameters = [])
static
Аргументы
array$parameters
Возвращает
Main\DB\Result|Main\ORM\Query\Result
Исключения
Main

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

Переопределяет метод предка Entity.

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

◆ getMeaningfulFields()

getMeaningfulFields ( )
staticprotected
Возвращает
array

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

◆ getName()

getName ( )
Возвращает
mixed

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

◆ getOnSavedEventName()

getOnSavedEventName ( )
staticabstractprotected

Returns OnSaved event name

Возвращает
string

Переопределяется в PropertyValueBase и ShipmentPropertyValue.

◆ getPersonTypeId()

getPersonTypeId ( )
Возвращает
mixed

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

◆ getProperty()

getProperty ( )
Возвращает
array

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

◆ getPropertyClassName()

getPropertyClassName ( )
staticabstractprotected
Возвращает
string Property class name.

Переопределяется в PropertyValueBase и ShipmentPropertyValue.

◆ getPropertyId()

getPropertyId ( )
Возвращает
mixed

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

◆ getPropertyObject()

getPropertyObject ( )
Возвращает
EntityProperty|null

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

◆ getRegistryEntity()

getRegistryEntity ( )
static
Возвращает
string

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

◆ getRegistryType()

getRegistryType ( )
static
Возвращает
string

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

◆ getRelationRuntimeFields()

getRelationRuntimeFields ( )
staticprotected

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

◆ getRelations()

getRelations ( )
Возвращает
mixed

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

◆ getTableEntity()

getTableEntity ( )
static

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

◆ getType()

getType ( )
Возвращает
mixed

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

◆ getValue()

getValue ( )
Возвращает
null|string|array

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

◆ getValueId()

getValueId ( )
Возвращает
null|string

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

◆ getViewHtml()

getViewHtml ( )
Возвращает
string
Исключения
Main

SystemException

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

◆ hasPresetForLanding()

hasPresetForLanding ( Entity $entity)
staticprotected

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

◆ hasPresetFotTradingPlatform()

hasPresetFotTradingPlatform ( Entity $entity)
staticprotected

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

◆ isRequired()

isRequired ( )
Возвращает
bool

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

◆ isUtil()

isUtil ( )
Возвращает
bool

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

◆ loadForEntity()

loadForEntity ( Entity $entity)
static
Аргументы
Entity$entity
Возвращает
array

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

◆ needDeleteOnRefresh()

needDeleteOnRefresh ( )
Возвращает
bool

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

◆ normalizeValue()

normalizeValue ( $name,
$value )
Аргументы
$name
$value
Возвращает
mixed
Исключения
Main

ArgumentException

Исключения
Main

LoaderException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

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

◆ save()

save ( )

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

◆ setValue()

setValue ( $value)
Аргументы
$value
Исключения
Main

ArgumentOutOfRangeException

Исключения
Main

NotImplementedException

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

◆ setValueFromPost()

setValueFromPost ( array $post)
Аргументы
array$post
Возвращает
Result
Исключения
Main

ArgumentOutOfRangeException

Исключения
Main

NotImplementedException

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

◆ update()

update ( )
protected
Возвращает
Result
Исключения
Main

NotImplementedException|Main\ArgumentOutOfRangeException

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

◆ updateInternal()

updateInternal ( $primary,
array $data )
protected
Аргументы
$primary
array$data
Возвращает
Main\Entity\UpdateResult
Исключения

Exception

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

Поля

◆ $property

$property = null
protected

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


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