protected function _toOptionHash($valueField = 'id', $labelField = 'title')
 {
     return parent::_toOptionHash($valueField, $labelField);
 }
Esempio n. 2
0
 /**
  * Convert collection items to select options hash array
  *
  * @return array
  */
 public function toOptionHash()
 {
     return parent::_toOptionHash('attribute_set_id', 'attribute_set_name');
 }
Esempio n. 3
0
 /**
  * Retrieve option hash
  *
  * @return array
  */
 public function toOptionHash()
 {
     return parent::_toOptionHash('customer_group_id', 'customer_group_code');
 }