*
* Generated from xml/schema/CRM/Grant/Grant.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:2abbee941ab414e5e67978a55a5bb2ee)
+ * (GenCodeChecksum:600fc71093543f1c7b31ad663f2325c6)
*/
require_once 'CRM/Core/DAO.php';
require_once 'CRM/Utils/Type.php';
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
) ,
'grant_contact_id' => array(
'name' => 'contact_id',
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => array(
'type' => 'EntityRef',
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
) ,
'decision_date' => array(
'name' => 'decision_date',
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select Date',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select Date',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select Date',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'CheckBox',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Text',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'TextArea',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'html' => array(
'type' => 'Select',
) ,
'table_name' => 'civicrm_grant',
'entity' => 'Grant',
'bao' => 'CRM_Grant_BAO_Grant',
+ 'localizable' => 0,
'FKClassName' => 'CRM_Financial_DAO_FinancialType',
'pseudoconstant' => array(
'table' => 'civicrm_financial_type',
$r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'grant', $prefix, array());
return $r;
}
+ /**
+ * Returns the list of indices
+ */
+ public static function indices($localize = TRUE) {
+ $indices = array(
+ 'index_grant_type_id' => array(
+ 'name' => 'index_grant_type_id',
+ 'field' => array(
+ 0 => 'grant_type_id',
+ ) ,
+ 'localizable' => false,
+ 'sig' => 'civicrm_grant::0::grant_type_id',
+ ) ,
+ 'index_status_id' => array(
+ 'name' => 'index_status_id',
+ 'field' => array(
+ 0 => 'status_id',
+ ) ,
+ 'localizable' => false,
+ 'sig' => 'civicrm_grant::0::status_id',
+ ) ,
+ );
+ return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+ }
}