Bitrix-D7 22.6
 
Загрузка...
Поиск...
Не найдено
Класс 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 getList (array $parameters)
 
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 строка 439

Методы

◆ addInternal()

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

Exception

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

◆ callEventOnPropertyValueEntitySaved()

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

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

◆ checkRequiredValue()

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

SystemException

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

◆ checkValue()

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

SystemException

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

◆ constructPropertyFilter()

static constructPropertyFilter ( Entity  $entity)
staticprotected

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

◆ constructPropertyRelatedEntitiesFilter()

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

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

◆ create()

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

ArgumentException

Исключения
Main

NotImplementedException

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

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

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

◆ getAvailableFields()

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

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

◆ getDescription()

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

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

◆ getEditHtml()

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

SystemException

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

◆ getEntityType()

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

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

◆ getFieldsMap()

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

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

◆ getGroupId()

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

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

◆ getList()

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

ArgumentException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

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

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

◆ getMeaningfulFields()

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

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

◆ getName()

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

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

◆ getOnSavedEventName()

static getOnSavedEventName ( )
staticabstractprotected

Returns OnSaved event name

Возвращает
string

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

◆ getPersonTypeId()

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

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

◆ getProperty()

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

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

◆ getPropertyClassName()

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

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

◆ getPropertyId()

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

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

◆ getPropertyObject()

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

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

◆ getRegistryEntity()

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

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

◆ getRegistryType()

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

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

◆ getRelationRuntimeFields()

static getRelationRuntimeFields ( )
staticprotected

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

◆ getRelations()

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

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

◆ getTableEntity()

static getTableEntity ( )
static

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

◆ getType()

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

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

◆ getValue()

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

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

◆ getValueId()

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

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

◆ getViewHtml()

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

SystemException

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

◆ hasPresetForLanding()

static hasPresetForLanding ( Entity  $entity)
staticprotected

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

◆ hasPresetFotTradingPlatform()

static hasPresetFotTradingPlatform ( Entity  $entity)
staticprotected

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

◆ isRequired()

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

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

◆ isUtil()

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

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

◆ loadForEntity()

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

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

◆ needDeleteOnRefresh()

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

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

◆ normalizeValue()

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

ArgumentException

Исключения
Main

LoaderException

Исключения
Main

ObjectPropertyException

Исключения
Main

SystemException

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

◆ save()

save ( )

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

◆ setValue()

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

ArgumentOutOfRangeException

Исключения
Main

NotImplementedException

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

◆ setValueFromPost()

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

ArgumentOutOfRangeException

Исключения
Main

NotImplementedException

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

◆ update()

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

NotImplementedException|Main\ArgumentOutOfRangeException

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

◆ updateInternal()

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

Exception

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

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

◆ $property

EntityProperty null $property = null
protected

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