/**
  * returns the list of fields that can be exported
  *
  * @access public
  * return array
  */
 function &export($prefix = false)
 {
     if (!$GLOBALS['_CRM_CONTRIBUTE_DAO_CONTRIBUTIONRECUR']['_export']) {
         $GLOBALS['_CRM_CONTRIBUTE_DAO_CONTRIBUTIONRECUR']['_export'] = array();
         $fields =& CRM_Contribute_DAO_ContributionRecur::fields();
         foreach ($fields as $name => $field) {
             if (CRM_Utils_Array::value('export', $field)) {
                 if ($prefix) {
                     $GLOBALS['_CRM_CONTRIBUTE_DAO_CONTRIBUTIONRECUR']['_export']['contribution_recur'] =& $fields[$name];
                 } else {
                     $GLOBALS['_CRM_CONTRIBUTE_DAO_CONTRIBUTIONRECUR']['_export'][$name] =& $fields[$name];
                 }
             }
         }
     }
     return $GLOBALS['_CRM_CONTRIBUTE_DAO_CONTRIBUTIONRECUR']['_export'];
 }