*/ class Mage_PageCache_Model_System_Config_Source_Controls { /** * Return array of external cache controls for using as options * * @return array */ public function toOptionArray() { $options = array(); foreach (Mage::helper('pagecache')->getCacheControls() as $code => $type) { $options[] = array( 'value' => $code, 'label' => $type['label'] ); } return $options; } }