Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс EntityPropertyValue
+ Граф наследования:EntityPropertyValue:

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

 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 строка 441

Методы

◆ addInternal()

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

Exception

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

◆ callEventOnPropertyValueEntitySaved()

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

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

◆ checkRequiredValue()

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

SystemException

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

◆ checkValue()

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

SystemException

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

◆ constructPropertyFilter()

static constructPropertyFilter ( Entity $entity)
staticprotected

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

◆ constructPropertyRelatedEntitiesFilter()

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

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

◆ create()

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

ArgumentException

Исключения
Main

NotImplementedException

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

◆ createPropertyValueObject()

static 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()

static 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 строка 387

◆ extractDeliveryIdList()

static extractDeliveryIdList ( Entity $entity)
staticprotected

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

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

◆ extractPaySystemIdList()

static extractPaySystemIdList ( Entity $entity)
staticprotected

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

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

◆ extractTpLandingIdList()

static extractTpLandingIdList ( Entity $entity)
staticprotected

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

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

◆ extractTradingPlatformIdList()

static extractTradingPlatformIdList ( Entity $entity)
staticprotected

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

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

◆ generateXmlId()

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

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

◆ getAvailableFields()

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

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

◆ getDescription()

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

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

◆ getEditHtml()

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

SystemException

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

◆ getEntityType()

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

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

◆ getFieldsMap()

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

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

◆ getGroupId()

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

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

◆ getList()

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

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

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

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

◆ getMeaningfulFields()

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

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

◆ getName()

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

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

◆ getOnSavedEventName()

static getOnSavedEventName ( )
staticabstractprotected

Returns OnSaved event name

Возвращает
string

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

◆ getPersonTypeId()

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

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

◆ getProperty()

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

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

◆ getPropertyClassName()

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

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

◆ getPropertyId()

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

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

◆ getPropertyObject()

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

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

◆ getRegistryEntity()

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

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

◆ getRegistryType()

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

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

◆ getRelationRuntimeFields()

static getRelationRuntimeFields ( )
staticprotected

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

◆ getRelations()

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

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

◆ getTableEntity()

static getTableEntity ( )
static

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

◆ getType()

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

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

◆ getValue()

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

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

◆ getValueId()

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

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

◆ getViewHtml()

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

SystemException

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

◆ hasPresetForLanding()

static hasPresetForLanding ( Entity $entity)
staticprotected

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

◆ hasPresetFotTradingPlatform()

static hasPresetFotTradingPlatform ( Entity $entity)
staticprotected

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

◆ isRequired()

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

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

◆ isUtil()

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

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

◆ loadForEntity()

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

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

◆ needDeleteOnRefresh()

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

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

◆ normalizeValue()

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

ArgumentException

Исключения
Main

LoaderException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

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

◆ save()

save ( )

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

◆ setValue()

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

ArgumentOutOfRangeException

Исключения
Main

NotImplementedException

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

◆ setValueFromPost()

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

ArgumentOutOfRangeException

Исключения
Main

NotImplementedException

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

◆ update()

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

NotImplementedException|Main\ArgumentOutOfRangeException

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

◆ updateInternal()

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

Exception

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

Данные класса

◆ $property

EntityProperty null $property = null
protected

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