PropertyValueCollectionBase
\Bitrix\Sale\PropertyValueCollectionBase base class for collection of order properties.
Inheritance chain
\Bitrix\Sale\ShipmentItem > \Bitrix\Sale\Internals\CollectableEntity > \Bitrix\Sale\Internals\Entity
Class methods
Method | Description | Available from version |
---|---|---|
checkErrors | Checks, if passed values are correct | |
checkRequired | Checks, if all required properties are passed. | |
createItem | Creates an order property. | |
getAddress | Returns property used as an address. | |
getArray | Returns array with two keys: groups and properties . First stores data about groups, second - property data. |
|
getAttribute | Returns property by its attribute. | |
getDeliveryLocation | Returns property used as location to calculate delivery cost. | |
getDeliveryLocationZip | Returns property used as zip code. | |
getGroups | Returns list of groups with properties. | |
getItemByOrderPropertyId | Returns property by its ID. | |
getOrder | Returns order with associated collection. | |
getPayerName | Returns property used as payer name. | |
getPhone | Returns property used as phone number. | |
getProfileName | Returns property used as name for user profile. | |
getPropertiesByGroupId | Returns list of group properties. | |
getRegistryType | Returns register type for an object. | |
getTaxLocation | Returns property used for calculating taxes. | |
getUserEmail | Returns property used as buyer mail. | |
load | Returns order with associated collection. | |
setOrder | Associates order to a collection. | |
setValuesFromPost | Sets property values. |
Methods for parent class Bitrix\Sale\Internals\CollectableEntity
Method | Description | Available from version |
---|---|---|
createClone | Clones this item. | |
delete | Deletes an item. | |
doFinalAction | Executes finalizing actions. | |
getCollection | Returns collection with associated item. | |
getInternalIndex | Returns internal index for a collection item. | |
isClone | Checks if this item is a clone. | |
setCollection | Associates collection to an item. |
Methods for parent class \Bitrix\Sale\Internals\Entity
Method | Description | Available from version |
---|---|---|
doFinalAction | Abstract method, designed to implement "final" calculation logic. | |
getAvailableFields | Returns array of fields to be set via methods setField() and setFields() . |
|
getAvailableFieldsMap | Returns array of fields to be set via the methods setField() and setFields() . getAvailableFields values are used as array keys. |
|
getField | Returns value for $name field. |
|
getFieldValues | Returns array of fields with values. | |
getId | Returns entity ID. | |
initField | Initializes field by a value. Object is not considered as updated. | |
initFields | Initializes fields by values. Object is not considered as updated. | |
isChanged | Checks, if entity was updated. If yes, returns true , otherwise returns false . |
|
isMathActionOnly | Checks, if current data is used for calculations (provider data is not requested). If yes, returns true , otherwise returns false . |
|
setField | Sets values for the field $name . |
|
setFields | Initializes fields by values. Object is not considered as updated. | |
setMathActionOnly | Disables requests to provider when during calculations. | |
verify | Checks, if object is correct. Returns object \Bitrix\Sale\Result . |
© «Bitrix24», 2001-2024