Mage_Eav_Model_Entity_Attribute_Frontend_Abstract
in package
implements
Mage_Eav_Model_Entity_Attribute_Frontend_Interface
AbstractYes
Table of Contents
Interfaces
- Mage_Eav_Model_Entity_Attribute_Frontend_Interface
- Entity attribute frontend interface Frontend is providing the user interface for the attribute
Properties
- $_attribute : Mage_Eav_Model_Entity_Attribute_Abstract
- Reference to the attribute instance
Methods
- getAttribute() : Mage_Eav_Model_Entity_Attribute_Abstract
- Get attribute instance
- getClass() : string
- Retrieve frontend class
- getConfigField() : mixed
- Reireive config field
- getInputRendererClass() : string|null
- Retrieve Input Renderer Class
- getInputType() : string
- Get attribute type for user interface form
- getLabel() : string
- Retrieve label
- getOption() : string|bool
- Retrieve option by option id
- getSelectOptions() : array<string|int, mixed>
- Get select options in case it's select box and options source is defined
- getValue() : mixed
- Retrieve attribute value
- isVisible() : bool
- Checks if attribute is visible on frontend
- setAttribute() : Mage_Eav_Model_Entity_Attribute_Frontend_Abstract
- Set attribute instance
- _getInputValidateClass() : string|false
- Return validate class by attribute input validation rule
Properties
$_attribute
Reference to the attribute instance
protected
Mage_Eav_Model_Entity_Attribute_Abstract
$_attribute
Methods
getAttribute()
Get attribute instance
public
getAttribute() : Mage_Eav_Model_Entity_Attribute_Abstract
Return values
Mage_Eav_Model_Entity_Attribute_AbstractgetClass()
Retrieve frontend class
public
getClass() : string
Return values
stringgetConfigField()
Reireive config field
public
getConfigField(string $fieldName) : mixed
Parameters
- $fieldName : string
getInputRendererClass()
Retrieve Input Renderer Class
public
getInputRendererClass() : string|null
Return values
string|nullgetInputType()
Get attribute type for user interface form
public
getInputType() : string
Return values
stringgetLabel()
Retrieve label
public
getLabel() : string
Return values
stringgetOption()
Retrieve option by option id
public
getOption(int $optionId) : string|bool
Parameters
- $optionId : int
Return values
string|boolgetSelectOptions()
Get select options in case it's select box and options source is defined
public
getSelectOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>getValue()
Retrieve attribute value
public
getValue(DataObject $object) : mixed
Parameters
- $object : DataObject
isVisible()
Checks if attribute is visible on frontend
public
isVisible() : bool
Return values
boolsetAttribute()
Set attribute instance
public
setAttribute(Mage_Eav_Model_Entity_Attribute_Abstract $attribute) : Mage_Eav_Model_Entity_Attribute_Frontend_Abstract
Parameters
- $attribute : Mage_Eav_Model_Entity_Attribute_Abstract
Return values
Mage_Eav_Model_Entity_Attribute_Frontend_Abstract_getInputValidateClass()
Return validate class by attribute input validation rule
protected
_getInputValidateClass() : string|false