*
* Generated from xml/schema/CRM/Price/PriceField.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:3e31ae2c91a74260789a9d76f5508d4f)
+ * (GenCodeChecksum:6ee89c3106c27af4ca96897826a2ef8c)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
) ,
'price_set_id' => array(
'name' => 'price_set_id',
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Price_DAO_PriceSet',
) ,
'name' => array(
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 1,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'CheckBox',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 1,
'html' => array(
'type' => 'TextArea',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 1,
'html' => array(
'type' => 'TextArea',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'CheckBox',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'CheckBox',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'CheckBox',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'CheckBox',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select Date',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_price_field',
'entity' => 'PriceField',
'bao' => 'CRM_Price_BAO_PriceField',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'price_field', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array(
+ 'index_name' => array(
+ 'name' => 'index_name',
+ 'field' => array(
+ 0 => 'name',
+ ) ,
+ 'localizable' => false,
+ 'sig' => 'civicrm_price_field::0::name',
+ ) ,
+ );
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}