Example #1
0
gpc_make_array(FILTER_SEARCH_STATUS_ID);
gpc_make_array(FILTER_SEARCH_REPORTER_ID);
gpc_make_array(FILTER_SEARCH_HANDLER_ID);
gpc_make_array(FILTER_SEARCH_PROJECT_ID);
gpc_make_array(FILTER_SEARCH_RESOLUTION_ID);
gpc_make_array(FILTER_SEARCH_PRODUCT_BUILD);
gpc_make_array(FILTER_SEARCH_PRODUCT_VERSION);
gpc_make_array(FILTER_SEARCH_FIXED_IN_VERSION);
gpc_make_array(FILTER_SEARCH_TARGET_VERSION);
gpc_make_array(FILTER_SEARCH_PROFILE);
gpc_make_array(FILTER_SEARCH_PLATFORM);
gpc_make_array(FILTER_SEARCH_OS);
gpc_make_array(FILTER_SEARCH_OS_BUILD);
gpc_make_array(FILTER_SEARCH_PRIORITY_ID);
gpc_make_array(FILTER_SEARCH_MONITOR_USER_ID);
gpc_make_array(FILTER_SEARCH_VIEW_STATE_ID);
$my_filter = filter_get_default();
$my_filter[FILTER_PROPERTY_FREE_TEXT] = gpc_get_string(FILTER_SEARCH_FREE_TEXT, '');
$my_filter[FILTER_PROPERTY_CATEGORY] = gpc_get_string_array(FILTER_SEARCH_CATEGORY, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_REPORTER_ID] = gpc_get_string_array(FILTER_SEARCH_REPORTER_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_HANDLER_ID] = gpc_get_string_array(FILTER_SEARCH_HANDLER_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_SEVERITY_ID] = gpc_get_string_array(FILTER_SEARCH_SEVERITY_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_STATUS_ID] = gpc_get_string_array(FILTER_SEARCH_STATUS_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PROJECT_ID] = gpc_get_string_array(FILTER_SEARCH_PROJECT_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_RESOLUTION_ID] = gpc_get_string_array(FILTER_SEARCH_RESOLUTION_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PRODUCT_BUILD] = gpc_get_string_array(FILTER_SEARCH_PRODUCT_BUILD, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_FIXED_IN_VERSION] = gpc_get_string_array(FILTER_SEARCH_FIXED_IN_VERSION, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_TARGET_VERSION] = gpc_get_string_array(FILTER_SEARCH_TARGET_VERSION, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PRIORITY_ID] = gpc_get_string_array(FILTER_SEARCH_PRIORITY_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_MONITOR_USER_ID] = gpc_get_string_array(FILTER_SEARCH_MONITOR_USER_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PROFILE] = gpc_get_string_array(FILTER_SEARCH_PROFILE, META_FILTER_ANY);
Example #2
0
gpc_make_array(FILTER_PROPERTY_STATUS);
gpc_make_array(FILTER_PROPERTY_REPORTER_ID);
gpc_make_array(FILTER_PROPERTY_HANDLER_ID);
gpc_make_array(FILTER_PROPERTY_PROJECT_ID);
gpc_make_array(FILTER_PROPERTY_RESOLUTION);
gpc_make_array(FILTER_PROPERTY_BUILD);
gpc_make_array(FILTER_PROPERTY_VERSION);
gpc_make_array(FILTER_PROPERTY_FIXED_IN_VERSION);
gpc_make_array(FILTER_PROPERTY_TARGET_VERSION);
gpc_make_array(FILTER_PROPERTY_PROFILE_ID);
gpc_make_array(FILTER_PROPERTY_PLATFORM);
gpc_make_array(FILTER_PROPERTY_OS);
gpc_make_array(FILTER_PROPERTY_OS_BUILD);
gpc_make_array(FILTER_PROPERTY_PRIORITY);
gpc_make_array(FILTER_PROPERTY_MONITOR_USER_ID);
gpc_make_array(FILTER_PROPERTY_VIEW_STATE);
$my_filter = filter_get_default();
$my_filter[FILTER_PROPERTY_SEARCH] = gpc_get_string(FILTER_PROPERTY_SEARCH, '');
$my_filter[FILTER_PROPERTY_CATEGORY_ID] = gpc_get_string_array(FILTER_PROPERTY_CATEGORY_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_REPORTER_ID] = gpc_get_string_array(FILTER_PROPERTY_REPORTER_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_HANDLER_ID] = gpc_get_string_array(FILTER_PROPERTY_HANDLER_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_SEVERITY] = gpc_get_string_array(FILTER_PROPERTY_SEVERITY, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_STATUS] = gpc_get_string_array(FILTER_PROPERTY_STATUS, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PROJECT_ID] = gpc_get_string_array(FILTER_PROPERTY_PROJECT_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_RESOLUTION] = gpc_get_string_array(FILTER_PROPERTY_RESOLUTION, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_BUILD] = gpc_get_string_array(FILTER_PROPERTY_BUILD, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_FIXED_IN_VERSION] = gpc_get_string_array(FILTER_PROPERTY_FIXED_IN_VERSION, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_TARGET_VERSION] = gpc_get_string_array(FILTER_PROPERTY_TARGET_VERSION, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PRIORITY] = gpc_get_string_array(FILTER_PROPERTY_PRIORITY, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_MONITOR_USER_ID] = gpc_get_string_array(FILTER_PROPERTY_MONITOR_USER_ID, META_FILTER_ANY);
$my_filter[FILTER_PROPERTY_PROFILE_ID] = gpc_get_string_array(FILTER_PROPERTY_PROFILE_ID, META_FILTER_ANY);