PHP Class N98\Magento\Command\Developer\Setup\Script\Attribute\EntityType\AbstractEntityType

Show file Open project: netz98/n98-magerun

Protected Properties

Property Type Description
$attribute Mage_Eav_Model_Entity_Attribute
$entityType string
$readConnection Varien_Db_Adapter_Interface
$warnings array

Public Methods

Method Description
__construct ( Mage_Eav_Model_Entity_Attribute $attribute )
getAttributeLabels ( Mage_Eav_Model_Entity_Attribute $attribute ) : array Gets attribute labels from database
getWarnings ( ) : array
setReadConnection ( $connection )
setWarnings ( array $warnings )

Protected Methods

Method Description
getOptions ( Mage_Eav_Model_Entity_Attribute $attribute ) : array Gets attribute options from database

Method Details

__construct() public method

public __construct ( Mage_Eav_Model_Entity_Attribute $attribute )
$attribute Mage_Eav_Model_Entity_Attribute

getAttributeLabels() public method

Gets attribute labels from database
public getAttributeLabels ( Mage_Eav_Model_Entity_Attribute $attribute ) : array
$attribute Mage_Eav_Model_Entity_Attribute
return array

getOptions() protected method

Gets attribute options from database
protected getOptions ( Mage_Eav_Model_Entity_Attribute $attribute ) : array
$attribute Mage_Eav_Model_Entity_Attribute
return array

getWarnings() public method

public getWarnings ( ) : array
return array

setReadConnection() public method

public setReadConnection ( $connection )
$connection

setWarnings() public method

public setWarnings ( array $warnings )
$warnings array

Property Details

$attribute protected property

protected Mage_Eav_Model_Entity_Attribute $attribute
return Mage_Eav_Model_Entity_Attribute

$entityType protected property

protected string $entityType
return string

$readConnection protected property

protected Varien_Db_Adapter_Interface $readConnection
return Varien_Db_Adapter_Interface

$warnings protected property

protected array $warnings
return array