*
* Generated from xml/schema/CRM/Contact/SavedSearch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:f84f342e55d9bbc420ff499c2789ab48)
+ * (GenCodeChecksum:d863f8b0b8659633bc84578e1d6cbf10)
*/
/**
* Database access object for the SavedSearch entity.
*/
class CRM_Contact_DAO_SavedSearch extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '1.1';
/**
* Static instance to hold the table name.
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Saved Searches');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Saved Searches') : ts('Saved Search');
}
/**
'entity' => 'SavedSearch',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
+ 'add' => '1.1',
],
'form_values' => [
'name' => 'form_values',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
'serialize' => self::SERIALIZE_PHP,
+ 'add' => '1.1',
],
'mapping_id' => [
'name' => 'mapping_id',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
'FKClassName' => 'CRM_Core_DAO_Mapping',
+ 'add' => '1.5',
],
'search_custom_id' => [
'name' => 'search_custom_id',
'entity' => 'SavedSearch',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
+ 'add' => '2.0',
],
'api_entity' => [
'name' => 'api_entity',
'entity' => 'SavedSearch',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
+ 'add' => '5.24',
],
'api_params' => [
'name' => 'api_params',
'bao' => 'CRM_Contact_BAO_SavedSearch',
'localizable' => 0,
'serialize' => self::SERIALIZE_JSON,
+ 'add' => '5.24',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);