title: Magento - get all attribute value
body: <p>It is necessary for me to get a list of all the meanings an attribute of “color”. when i use this code </p>
  
  <pre><code>$name='color';
  $attributeInfo = Mage::getResourceModel('eav/entity_attribute_collection')-&gt;setCodeFilter($name)-&gt;getFirstItem();
  $attributeId = $attributeInfo-&gt;getAttributeId();
  $attribute = Mage::getModel('catalog/resource_eav_attribute')-&gt;load($attributeId);
  $attributeOptions = $attribute -&gt;getSource()-&gt;getAllOptions(false); 
  </code></pre>
  
  <p>In that case I get that kind of list:</p>
  
  <pre><code> (
          [0] =&gt; Array
              (
                  [value] =&gt; 6
                  [label] =&gt; blueAdmin
              )
          [1] =&gt; Array
              (
                  [value] =&gt; 5
                  [label] =&gt; coralAdmin
              )
          [2] =&gt; Array
              (
                  [value] =&gt; 3
                  [label] =&gt; redAdmin
              )
          [3] =&gt; Array
              (
                  [value] =&gt; 4
                  [label] =&gt; limeAdmin
              )
      ) 
  </code></pre>
  
  <p>It is the list of all meanings which are displayed in administration's part of website. How can I get a list of all meanings of attributes which are displayed in the shop not in administration's part of website?</p>
  
  <p>Thank you.</p>