예제 #1
0
 /**
  * Get editable options
  *
  * @return array
  */
 protected function getEditableOptions()
 {
     $list = parent::getEditableOptions();
     foreach ($list as $k => $option) {
         if ('cod_status' === $option->getName()) {
             unset($list[$k]);
         }
     }
     return $list;
 }
예제 #2
0
 /**
  * Get editable options
  *
  * @return array
  */
 protected function getEditableOptions()
 {
     $list = parent::getEditableOptions();
     $unEditableOptions = array('cod_status', 'currency_code');
     foreach ($list as $k => $option) {
         if (in_array($option->getName(), $unEditableOptions, true)) {
             unset($list[$k]);
         }
     }
     return $list;
 }