1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>SavedSearch
</class>
6 <name>civicrm_saved_search
</name>
7 <comment>Users can save their complex SQL queries and use them later.
</comment>
11 <type>int unsigned
</type>
12 <title>Saved Search ID
</title>
13 <required>true
</required>
14 <comment>Saved Search ID
</comment>
19 <autoincrement>false
</autoincrement>
22 <name>form_values
</name>
23 <title>Submitted Form Values
</title>
26 <comment>Submitted form values for this search
</comment>
27 <serialize>PHP
</serialize>
31 <name>mapping_id
</name>
32 <type>int unsigned
</type>
33 <title>Mapping ID
</title>
34 <comment>Foreign key to civicrm_mapping used for saved search-builder searches.
</comment>
38 <name>mapping_id
</name>
39 <table>civicrm_mapping
</table>
41 <onDelete>SET NULL
</onDelete>
45 <name>search_custom_id
</name>
46 <type>int unsigned
</type>
47 <title>Option Value ID
</title>
48 <comment>Foreign key to civicrm_option value table used for saved custom searches.
</comment>
52 <name>where_clause
</name>
54 <title>Where Clause
</title>
55 <comment>the sql where clause if a saved search acl
</comment>
60 <name>select_tables
</name>
62 <title>Select Tables
</title>
63 <comment>the tables to be included in a select data
</comment>
64 <serialize>PHP
</serialize>
69 <name>where_tables
</name>
71 <title>Where Tables
</title>
72 <comment>the tables to be included in the count statement
</comment>
73 <serialize>PHP
</serialize>
78 <name>api_entity
</name>
80 <title>Entity Name
</title>
82 <comment>Entity name for API based search
</comment>
86 <name>api_params
</name>
88 <title>API Parameters
</title>
89 <comment>Parameters for API based search
</comment>
90 <serialize>JSON
</serialize>