示例#1
0
文件: Radio.php 项目: aiesh/magento2
 /**
  * Prepare data for renderer
  *
  * @return array
  */
 protected function _getValues()
 {
     $values = $this->getColumn()->getValues();
     return $this->_converter->toFlatArray($values);
 }
示例#2
0
 /**
  * Prepare data for renderer
  *
  * @return array
  */
 public function _getOptions()
 {
     $options = $this->getColumn()->getOptions();
     return $this->_converter->toTreeArray($options);
 }
示例#3
0
 /**
  * Get options from column
  *
  * @return array
  */
 protected function _getOptions()
 {
     return $this->_converter->toFlatArray($this->getColumn()->getOptions());
 }