title: How to get admin option (i.e., value) of an attribute?
body: <p>I would like to get the admin option (i.e., value) of an attribute in Magento 1.9. So far I have been able to do that:</p>
  
  <pre><code>&lt;?php
  define(CURRENT_STORE_ID, Mage::app()-&gt;getStore()-&gt;getStoreId());
  Mage::app()-&gt;setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
  // Display admin value of "attribute"
  echo $_product-&gt;getAttributeText('attribute');
  Mage::app()-&gt;setCurrentStore(CURRENT_STORE_ID);
  // Still display admin value of "attribute"
  echo $_product-&gt;getAttributeText('attribute');
  ?&gt;
  </code></pre>
  
  <p>The problem is, I cannot figure out how to switch back to the "normal" store after I retrieve the admin option (i.e., value) I needed.</p>
  
  <p><strong>Edit:</strong></p>
  
  <pre><code>&lt;?php
  // Display the normal value of "attribute"
  echo $_product-&gt;getAttributeText('attribute');
  define(CURRENT_STORE_ID, Mage::app()-&gt;getStore()-&gt;getStoreId());
  Mage::app()-&gt;setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
  // Still display the normal value "attribute"
  echo $_product-&gt;getAttributeText('attribute');
  Mage::app()-&gt;setCurrentStore(CURRENT_STORE_ID);
  // Still display the normal value "attribute"
  echo $_product-&gt;getAttributeText('attribute');
  ?&gt;
  </code></pre>
  
  <p>Thank you in advance.</p>