* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['acl'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'acl', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['acl'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'acl', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['acl_cache'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'acl_cache', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['acl_cache'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'acl_cache', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['acl_entity_role'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'acl_entity_role', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['acl_entity_role'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'acl_entity_role', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['activity'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'activity', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['activity'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'activity', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['activity_contact'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'activity_contact', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['activity_contact'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'activity_contact', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['batch'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'batch', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['batch'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'batch', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['entity_batch'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'entity_batch', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['entity_batch'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_batch', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['campaign'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'campaign', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['campaign'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'campaign', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['campaign_group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'campaign_group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['campaign_group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'campaign_group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['survey'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'survey', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['survey'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'survey', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['case'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'case', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['case'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'case', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['case_activity'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'case_activity', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['case_activity'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'case_activity', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['case_contact'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'case_contact', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['case_contact'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'case_contact', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['case_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'case_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['case_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'case_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['acl_contact_cache'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'acl_contact_cache', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['acl_contact_cache'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'acl_contact_cache', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contact'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contact', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contact'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contact', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contact_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contact_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contact_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contact_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['dashboard_contact'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'dashboard_contact', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['dashboard_contact'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'dashboard_contact', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['group_contact'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'group_contact', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['group_contact'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'group_contact', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['group_contact_cache'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'group_contact_cache', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['group_contact_cache'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'group_contact_cache', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['group_nesting'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'group_nesting', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['group_nesting'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'group_nesting', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['group_organization'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'group_organization', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['group_organization'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'group_organization', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['relationship'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'relationship', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['relationship'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'relationship', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['relationship_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'relationship_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['relationship_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'relationship_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['saved_search'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'saved_search', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['saved_search'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'saved_search', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['subscription_history'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'subscription_history', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['subscription_history'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'subscription_history', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contribution'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contribution', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contribution'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contribution', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contribution_page'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contribution_page', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contribution_page'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contribution_page', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contribution_product'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contribution_product', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contribution_product'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contribution_product', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contribution_recur'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contribution_recur', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contribution_recur'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contribution_recur', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contribution_soft'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contribution_soft', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contribution_soft'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contribution_soft', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['premiums'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'premiums', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['premiums'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'premiums', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['premiums_product'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'premiums_product', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['premiums_product'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'premiums_product', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['product'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'product', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['product'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'product', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['contribution_widget'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'contribution_widget', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['contribution_widget'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'contribution_widget', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['action_log'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'action_log', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['action_log'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'action_log', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['action_mapping'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'action_mapping', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['action_mapping'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'action_mapping', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['action_schedule'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'action_schedule', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['action_schedule'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'action_schedule', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['address'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- self::$_import = array_merge(self::$_import, CRM_Core_DAO_County::import(true));
- self::$_import = array_merge(self::$_import, CRM_Core_DAO_StateProvince::import(true));
- self::$_import = array_merge(self::$_import, CRM_Core_DAO_Country::import(true));
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'address', $prefix, array(
+ 'CRM_Core_DAO_County',
+ 'CRM_Core_DAO_StateProvince',
+ 'CRM_Core_DAO_Country',
+ ));
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['address'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- self::$_export = array_merge(self::$_export, CRM_Core_DAO_County::export(true));
- self::$_export = array_merge(self::$_export, CRM_Core_DAO_StateProvince::export(true));
- self::$_export = array_merge(self::$_export, CRM_Core_DAO_Country::export(true));
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'address', $prefix, array(
+ 'CRM_Core_DAO_County',
+ 'CRM_Core_DAO_StateProvince',
+ 'CRM_Core_DAO_Country',
+ ));
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['address_format'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'address_format', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['address_format'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'address_format', $prefix, array());
+ return $r;
}
}
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
-// (GenCodeChecksum:ba879fefd1a64218277bad08e0a29af7)
+// (GenCodeChecksum:14fe20bf74c92c5422f20d8b99684a5b)
return array(
'CRM_Core_DAO_AddressFormat' => array(
'name' => 'AddressFormat',
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['cache'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'cache', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['cache'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'cache', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['component'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'component', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['component'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'component', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['country'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'country', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['country'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'country', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['county'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'county', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['county'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'county', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['custom_field'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'custom_field', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['custom_field'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'custom_field', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['custom_group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'custom_group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['custom_group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'custom_group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['dashboard'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'dashboard', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['dashboard'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'dashboard', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['discount'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'discount', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['discount'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'discount', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['domain'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'domain', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['domain'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'domain', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['email'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'email', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['email'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'email', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['entity_file'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'entity_file', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['entity_file'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_file', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['entity_tag'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'entity_tag', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['entity_tag'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_tag', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['extension'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'extension', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['extension'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'extension', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['file'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'file', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['file'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'file', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['im'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'im', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['im'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'im', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['job'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'job', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['job'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'job', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['job_log'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'job_log', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['job_log'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'job_log', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['loc_block'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'loc_block', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['loc_block'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'loc_block', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['location_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'location_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['location_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'location_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['log'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'log', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['log'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'log', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mail_settings'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mail_settings', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mail_settings'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mail_settings', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['managed'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'managed', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['managed'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'managed', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mapping'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mapping', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mapping'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mapping', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mapping_field'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mapping_field', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mapping_field'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mapping_field', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['menu'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'menu', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['menu'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'menu', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['msg_template'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'msg_template', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['msg_template'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'msg_template', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['navigation'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'navigation', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['navigation'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'navigation', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['note'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'note', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['note'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'note', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['openid'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'openid', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['openid'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'openid', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['option_group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'option_group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['option_group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'option_group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['option_value'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'option_value', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['option_value'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'option_value', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['persistent'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'persistent', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['persistent'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'persistent', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['phone'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'phone', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['phone'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'phone', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['preferences_date'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'preferences_date', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['preferences_date'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'preferences_date', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['prevnext_cache'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'prevnext_cache', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['prevnext_cache'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'prevnext_cache', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['print_label'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'print_label', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['print_label'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'print_label', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['recurring_entity'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'recurring_entity', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['recurring_entity'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'recurring_entity', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['setting'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'setting', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['setting'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'setting', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['state_province'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'state_province', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['state_province'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'state_province', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['status_pref'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'status_pref', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['status_pref'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'status_pref', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['system_log'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'system_log', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['system_log'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'system_log', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['tag'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'tag', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['tag'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'tag', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['timezone'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'timezone', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['timezone'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'timezone', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['uf_field'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'uf_field', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['uf_field'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'uf_field', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['uf_group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'uf_group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['uf_group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'uf_group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['uf_join'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'uf_join', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['uf_join'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'uf_join', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['uf_match'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'uf_match', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['uf_match'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'uf_match', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['website'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'website', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['website'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'website', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['word_replacement'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'word_replacement', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['word_replacement'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'word_replacement', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['worldregion'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'worldregion', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['worldregion'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'worldregion', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['cxn'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'cxn', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['cxn'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'cxn', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['dedupe_exception'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'dedupe_exception', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['dedupe_exception'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'dedupe_exception', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['dedupe_rule'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'dedupe_rule', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['dedupe_rule'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'dedupe_rule', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['dedupe_rule_group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'dedupe_rule_group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['dedupe_rule_group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'dedupe_rule_group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['event_carts'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'event_carts', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['event_carts'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'event_carts', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['events_in_carts'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'events_in_carts', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['events_in_carts'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'events_in_carts', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['event'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'event', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['event'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'event', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['participant'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'participant', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['participant'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'participant', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['participant_payment'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'participant_payment', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['participant_payment'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'participant_payment', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['participant_status_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'participant_status_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['participant_status_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'participant_status_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['currency'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'currency', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['currency'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'currency', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['entity_financial_account'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'entity_financial_account', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['entity_financial_account'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_financial_account', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['entity_financial_trxn'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'entity_financial_trxn', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['entity_financial_trxn'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'entity_financial_trxn', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['financial_account'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'financial_account', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['financial_account'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'financial_account', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['financial_item'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'financial_item', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['financial_item'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'financial_item', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['financial_trxn'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'financial_trxn', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['financial_trxn'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'financial_trxn', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['financial_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'financial_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['financial_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'financial_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['payment_processor'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'payment_processor', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['payment_processor'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'payment_processor', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['payment_processor_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'payment_processor_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['payment_processor_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'payment_processor_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['payment_token'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'payment_token', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['payment_token'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'payment_token', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['tell_friend'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'tell_friend', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['tell_friend'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'tell_friend', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['grant'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'grant', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['grant'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'grant', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_bounce_pattern'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_bounce_pattern', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_bounce_pattern'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_bounce_pattern', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_bounce_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_bounce_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_bounce_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_bounce_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_component'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_component', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_component'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_component', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_abtest'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_abtest', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_abtest'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_abtest', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_group'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_group', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_group'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_group', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_job'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_job', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_job'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_job', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_recipients'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_recipients', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_recipients'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_recipients', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_spool'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_spool', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_spool'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_spool', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_trackable_url'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_trackable_url', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_trackable_url'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_trackable_url', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_bounce'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_bounce', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_bounce'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_bounce', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_confirm'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_confirm', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_confirm'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_confirm', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_delivered'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_delivered', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_delivered'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_delivered', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_forward'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_forward', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_forward'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_forward', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_opened'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_opened', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_opened'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_opened', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_queue'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_queue', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_queue'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_queue', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_reply'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_reply', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_reply'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_reply', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_subscribe'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_subscribe', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_subscribe'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_subscribe', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_trackable_url_open'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_trackable_url_open', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_trackable_url_open'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_trackable_url_open', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['mailing_event_unsubscribe'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'mailing_event_unsubscribe', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['mailing_event_unsubscribe'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'mailing_event_unsubscribe', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['membership'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'membership', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['membership'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'membership', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['membership_block'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'membership_block', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['membership_block'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'membership_block', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['membership_log'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'membership_log', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['membership_log'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'membership_log', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['membership_payment'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'membership_payment', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['membership_payment'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'membership_payment', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['membership_status'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'membership_status', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['membership_status'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'membership_status', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['membership_type'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'membership_type', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['membership_type'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'membership_type', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['pcp'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'pcp', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['pcp'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'pcp', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['pcp_block'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'pcp_block', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['pcp_block'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'pcp_block', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['pledge'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'pledge', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['pledge'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'pledge', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['pledge_block'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'pledge_block', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['pledge_block'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'pledge_block', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['pledge_payment'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'pledge_payment', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['pledge_payment'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'pledge_payment', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['line_item'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'line_item', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['line_item'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'line_item', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['price_field'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'price_field', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['price_field'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_field', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['price_field_value'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'price_field_value', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['price_field_value'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_field_value', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['price_set'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'price_set', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['price_set'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_set', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['price_set_entity'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'price_set_entity', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['price_set_entity'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_set_entity', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['queue_item'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'queue_item', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['queue_item'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'queue_item', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['report_instance'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'report_instance', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['report_instance'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'report_instance', $prefix, array());
+ return $r;
}
}
* @var string
*/
static $_links = null;
- /**
- * static instance to hold the values that can
- * be imported
- *
- * @var array
- */
- static $_import = null;
- /**
- * static instance to hold the values that can
- * be exported
- *
- * @var array
- */
- static $_export = null;
/**
* static value to see if we should log any modifications to
* this table in the civicrm_log table
* @return array
*/
static function &import($prefix = false) {
- if (!(self::$_import)) {
- self::$_import = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('import', $field)) {
- if ($prefix) {
- self::$_import['sms_provider'] = & $fields[$name];
- } else {
- self::$_import[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_import;
+ $r = CRM_Core_DAO_AllCoreTables::getImports(__CLASS__, 'sms_provider', $prefix, array());
+ return $r;
}
/**
* Returns the list of fields that can be exported
* @return array
*/
static function &export($prefix = false) {
- if (!(self::$_export)) {
- self::$_export = array();
- $fields = self::fields();
- foreach($fields as $name => $field) {
- if (CRM_Utils_Array::value('export', $field)) {
- if ($prefix) {
- self::$_export['sms_provider'] = & $fields[$name];
- } else {
- self::$_export[$name] = & $fields[$name];
- }
- }
- }
- }
- return self::$_export;
+ $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'sms_provider', $prefix, array());
+ return $r;
}
}