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

Afficher le fichier Open project: netz98/n98-magerun

Protected Properties

Свойство Type Description
$attribute Mage_Eav_Model_Entity_Attribute
$entityType string
$readConnection Varien_Db_Adapter_Interface
$warnings array

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode Description
getOptions ( Mage_Eav_Model_Entity_Attribute $attribute ) : array Gets attribute options from database

Method Details

__construct() public méthode

public __construct ( Mage_Eav_Model_Entity_Attribute $attribute )
$attribute Mage_Eav_Model_Entity_Attribute

getAttributeLabels() public méthode

Gets attribute labels from database
public getAttributeLabels ( Mage_Eav_Model_Entity_Attribute $attribute ) : array
$attribute Mage_Eav_Model_Entity_Attribute
Résultat array

getOptions() protected méthode

Gets attribute options from database
protected getOptions ( Mage_Eav_Model_Entity_Attribute $attribute ) : array
$attribute Mage_Eav_Model_Entity_Attribute
Résultat array

getWarnings() public méthode

public getWarnings ( ) : array
Résultat array

setReadConnection() public méthode

public setReadConnection ( $connection )
$connection

setWarnings() public méthode

public setWarnings ( array $warnings )
$warnings array

Property Details

$attribute protected_oe property

protected Mage_Eav_Model_Entity_Attribute $attribute
Résultat Mage_Eav_Model_Entity_Attribute

$entityType protected_oe property

protected string $entityType
Résultat string

$readConnection protected_oe property

protected Varien_Db_Adapter_Interface $readConnection
Résultat Varien_Db_Adapter_Interface

$warnings protected_oe property

protected array $warnings
Résultat array