protected function getItemDecorator()
 {
     $options = array_merge($this->options['itemDecoratorOptions'], array('decorator' => $this->options['itemDecorator']));
     $decorator = gmExporterFieldDecorator::getInstance($options);
     return $decorator;
 }
 /**
  * Use this to get an abstraction of the user's field configuration 
  *
  * @return an array of gmExporterFieldDecorators
  */
 protected function getFieldSelection()
 {
     $fields = array();
     foreach ($this->getConfiguration()->getExportationFieldSelection() as $field) {
         $fields[] = gmExporterFieldDecorator::getInstance($field, $this->getContext());
     }
     return $fields;
 }