Documentation

Mage_Sales_Model_Entity_Order_Shipment_Attribute_Backend_Parent extends Mage_Eav_Model_Entity_Attribute_Backend_Abstract
in package

Maho

Tags
copyright

Copyright (c) 2006-2020 Magento, Inc. (https://magento.com)

copyright

Copyright (c) 2020-2024 The OpenMage Contributors (https://openmage.org)

copyright

Copyright (c) 2024 Maho (https://mahocommerce.com)

license

https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

Table of Contents

Properties

$_attribute  : Mage_Eav_Model_Entity_Attribute_Abstract
Reference to the attribute instance
$_defaultValue  : mixed
Default value for the attribute
$_entityIdField  : string
Name of the entity_id field for the value table of this attribute
$_table  : string
Table name for this attribute
$_valueId  : int
PK value_id for loaded entity (for faster updates)
$_valueIds  : array<string|int, mixed>
PK value_ids for each loaded entity

Methods

afterDelete()  : $this
After delete method
afterLoad()  : $this
After load method
afterSave()  : $this
After save method
beforeDelete()  : $this
Before delete method
beforeSave()  : $this
Before save method
getAttribute()  : Mage_Eav_Model_Entity_Attribute_Abstract
Get attribute instance
getDefaultValue()  : mixed
Retrieve default value
getEntityIdField()  : string
Get entity_id field in the attribute values tables
getEntityValueId()  : int
Get entity value id
getTable()  : string
Get table name for the values of the attribute
getType()  : string
Get backend type of the attribute
getValueId()  : int
Retrieve value id
isStatic()  : bool
Check whether the attribute is a real field in the entity table
setAttribute()  : $this
Set attribute instance
setEntityValueId()  : $this
Set entity value id
setValueId()  : $this
Set value id
validate()  : $this|bool
Validate object

Properties

$_defaultValue

Default value for the attribute

protected mixed $_defaultValue = \null

$_entityIdField

Name of the entity_id field for the value table of this attribute

protected string $_entityIdField

$_table

Table name for this attribute

protected string $_table

$_valueId

PK value_id for loaded entity (for faster updates)

protected int $_valueId

$_valueIds

PK value_ids for each loaded entity

protected array<string|int, mixed> $_valueIds = []

Methods

getDefaultValue()

Retrieve default value

public getDefaultValue() : mixed

getEntityIdField()

Get entity_id field in the attribute values tables

public getEntityIdField() : string
Attributes
#[Override]
Return values
string

getTable()

Get table name for the values of the attribute

public getTable() : string
Attributes
#[Override]
Return values
string

getType()

Get backend type of the attribute

public getType() : string
Attributes
#[Override]
Return values
string

getValueId()

Retrieve value id

public getValueId() : int
Attributes
#[Override]
Return values
int

isStatic()

Check whether the attribute is a real field in the entity table

public isStatic() : bool
Attributes
#[Override]
Return values
bool

setEntityValueId()

Set entity value id

public setEntityValueId(Varien_Object $entity, int $valueId) : $this
Parameters
$entity : Varien_Object
$valueId : int
Attributes
#[Override]
Return values
$this

setValueId()

Set value id

public setValueId(int $valueId) : $this
Parameters
$valueId : int
Attributes
#[Override]
Return values
$this

        
On this page

Search results