protected function getOptions() { // Initialize variables. $options = array(); // Convert to name => name array. foreach (MCache::getStores() as $store) { $options[] = MHtml::_('select.option', $store, MText::_('MLIB_FORM_VALUE_CACHE_' . $store), 'value', 'text'); } $options = array_merge(parent::getOptions(), $options); return $options; }