osc_search() – Gets search object

osc_list_orders() – Gets available search orders

osc_search_page() – Gets current search page

osc_search_total_pages() – Gets total pages of search

osc_search_has_pic() – Gets if “has pic” option is enabled or not in the search

osc_search_order() – Gets current search order

osc_search_order_type() – Gets current search order type

osc_search_pattern() – Gets current search pattern

osc_search_region() – Gets current search region

osc_search_city() – Gets current search city

osc_search_price_max() – Gets current search max price

osc_search_price_min() – Gets current search min price

osc_search_total_items() – Gets current search total items

osc_search_show_as() – Gets current search “show as” variable (show the items as a list or as a gallery)

osc_search_start() – Gets current search start item record

osc_search_end() – Gets current search end item record

osc_search_category() – Gets current search category

osc_search_category_id() – Gets current search category id

osc_update_search_url($params, $delimiter = ‘&’) – Update the search url with new options

osc_alert_form() – Load the form for the alert subscription

osc_search_alert() – Gets alert of current search

osc_search_show_all_url( ) – Gets for a default search (all categories, no other option)

osc_search_url($params = null) – Gets search url given params

Helpers for listing the locations on sidebar

osc_list_country() – Gets list of countries with items

osc_list_region() – Gets list of regions with items

osc_list_city() – Gets list of cities with items

osc_has_list_countries() – Gets the next country in the list_countries list

osc_has_list_regions($country = ‘%%%%’) – Gets the next region in the list_regions list

osc_has_list_cities($region = ‘%%%%’) – Gets the next city in the list_cities list

osc_count_list_countries() – Gets the total number of countries in list_countries

osc_count_list_regions($country = ‘%%%%’) – Gets the total number of regions in list_regions

osc_count_list_cities($region = ‘%%%%’) – Gets the total number of cities in list_cities

osc_list_region_name() – Gets the the name of current “list region”

osc_list_region_items() – Gets the number of items of current “list region”

osc_list_city_name() – Gets the the name of current “list city”

osc_list_city_items() – Gets the number of items of current “list city”

osc_list_country_url() – Gets the url of current “list country”

osc_list_region_url() – Gets the url of current “list region”

osc_list_city_url() – Gets the url of current “list city”

Latest searches

osc_get_latest_searches($limit = 20) – Gets the latest searches done in the website

osc_count_latest_searches() – Gets the total number of latest searches done in the website

osc_has_latest_searches() – Gets the next latest search

osc_latest_search() – Gets the current latest search

osc_latest_search_text() – Gets the current latest search pattern

osc_latest_search_date() – Gets the current latest search date

osc_latest_search_total() – Gets the current latest search total