| 86 | | /** |
|---|
| 87 | | * reflector configuration |
|---|
| 88 | | * |
|---|
| 89 | | * All classes must be defined as MgdSchema level names |
|---|
| 90 | | */ |
|---|
| 91 | | /* |
|---|
| 92 | | Used to replace one classname with another, for example org_openpsa_event |
|---|
| 93 | | extends midgard_event, so we wish to display only the more complete type. |
|---|
| 94 | | |
|---|
| 95 | | Keyed by the type we wish to replace, value is the type we wish to replace to |
|---|
| 96 | | */ |
|---|
| 97 | | 'class_extends' => array |
|---|
| 98 | | ( |
|---|
| 99 | | 'midgard_event' => 'org_openpsa_event', |
|---|
| 100 | | 'midcom_org_openpsa_event' => 'org_openpsa_event', |
|---|
| 101 | | 'net_nemein_calendar_event_db' => 'org_openpsa_event', |
|---|
| 102 | | 'midgard_eventmember' => 'org_openpsa_eventmember', |
|---|
| 103 | | 'midgard_person' => 'org_openpsa_person', |
|---|
| 104 | | 'midgard_group' => 'org_openpsa_organization', |
|---|
| 105 | | ), |
|---|
| 106 | | // Classes that never should be listed as root class |
|---|
| 107 | | 'root_class_exceptions_notroot' => array |
|---|
| 108 | | ( |
|---|
| 109 | | /* These are core special cases */ |
|---|
| 110 | | 'midgard_parameter', |
|---|
| 111 | | 'midgard_attachment', |
|---|
| 112 | | 'midgard_language', |
|---|
| 113 | | 'midgard_quota', |
|---|
| 114 | | /* These use GUID to link to many parents */ |
|---|
| 115 | | 'net_nemein_tag_link', |
|---|
| 116 | | 'net_nehmer_comments_comment_db', |
|---|
| 117 | | 'org_openpsa_relatedto', |
|---|
| 118 | | 'org_routamc_positioning_location', |
|---|
| 119 | | /* These we just don't anybody mucking about with */ |
|---|
| 120 | | 'midcom_core_login_session_db', |
|---|
| 121 | | 'midcom_core_temporary_object_db', |
|---|
| 122 | | 'midcom_core_privilege_db', |
|---|
| 123 | | 'midcom_services_at_entry_db', |
|---|
| 124 | | /* And then some objects that just don't make sense to show as roots */ |
|---|
| 125 | | 'net_nemein_tag', |
|---|
| 126 | | 'org_openpsa_query', |
|---|
| 127 | | /* Persons and groups as toplevel is mostly harmful as there can be really many entries */ |
|---|
| 128 | | 'midgard_person', |
|---|
| 129 | | 'org_openpsa_person', |
|---|
| 130 | | 'midgard_group', |
|---|
| 131 | | 'org_openpsa_organization', |
|---|
| 132 | | ), |
|---|
| 133 | | // Classes that should always be listed as root class (mainly workaround for schema bugs) |
|---|
| 134 | | 'root_class_exceptions_forceroot' => array |
|---|
| 135 | | ( |
|---|
| 136 | | ), |
|---|
| 137 | | |
|---|
| 138 | | // Always search these fields (used by get_search_properties), keyed by MgdSchema class name |
|---|
| 139 | | 'always_search_fields' => array |
|---|
| 140 | | ( |
|---|
| 141 | | 'midgard_person' => array('email'), |
|---|
| 142 | | 'org_openpsa_person' => array('email'), |
|---|
| 143 | | ), |
|---|
| 144 | | // Never search these fields (used by get_search_properties), keyed by MgdSchema class name |
|---|
| 145 | | 'never_search_fields' => array |
|---|
| 146 | | ( |
|---|
| 147 | | ), |
|---|
| 148 | | |
|---|
| 149 | | 'experimental_root_class_detection' => false, |
|---|
| 150 | | |
|---|