I'am trying to get all attribute label of a special attribute which type is "price". Here is my code but it's not retreiving the right value.
$attribute = Mage::getModel('eav/config')->getAttribute('catalog_product', '170');
$options = Mage::getResourceModel('eav/entity_attribute_option_collection');
$table_screen = array();
foreach ( $values = $options->setAttributeFilter($attribute->getId())->setStoreFilter(1)->toOptionArray() as $option){
$table_screen[] = (int)$option['label'];
}
Do you have any idea how to do that ?
Thanks,