Public Member Functions | |
toOptionArray ($isMultiselect) | |
Protected Attributes | |
$_options |
Definition at line 28 of file Language.php.
toOptionArray | ( | $ | isMultiselect | ) |
Definition at line 32 of file Language.php.
00033 { 00034 if (!$this->_options) { 00035 $this->_options = Mage::getResourceModel('core/language_collection')->loadData()->toOptionArray(); 00036 } 00037 $options = $this->_options; 00038 if(!$isMultiselect){ 00039 array_unshift($options, array('value'=>'', 'label'=>'')); 00040 } 00041 return $options; 00042 }
$_options [protected] |
Definition at line 30 of file Language.php.