Documentation

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

Methods

getClass()

Retrieve frontend class

public getClass() : string
Return values
string

getConfigField()

Reireive config field

public getConfigField(string $fieldName) : mixed
Parameters
$fieldName : string

getInputRendererClass()

Retrieve Input Renderer Class

public getInputRendererClass() : string|null
Return values
string|null

getInputType()

Get attribute type for user interface form

public getInputType() : string
Return values
string

getLabel()

Retrieve label

public getLabel() : string
Return values
string

getOption()

Retrieve option by option id

public getOption(int $optionId) : string|bool
Parameters
$optionId : int
Return values
string|bool

getSelectOptions()

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>

isVisible()

Checks if attribute is visible on frontend

public isVisible() : bool
Return values
bool

_getInputValidateClass()

Return validate class by attribute input validation rule

protected _getInputValidateClass() : string|false
Return values
string|false
On this page

Search results