DataStore
API\Reports\Categories\DataStore.
Description Description
Source Source
File: packages/woocommerce-admin/src/API/Reports/Categories/DataStore.php
Methods Methods
- add_order_by_params — Fills ORDER BY clause of SQL request based on user supplied parameters.
- add_sql_query_params — Return the database query with parameters used for Categories report: time span and order status.
- assign_report_columns — Assign report columns once full table name has been assigned.
- get_data — Returns the report data based on parameters supplied by the user.
- get_included_categories_array — Returns an array of ids of included categories, based on query arguments from the user.
- include_extended_info — Enriches the category data.
- initialize_queries — Initialize query objects.
- normalize_order_by — Maps ordering specified by the user to columns in the database/fields in the data.
- page_records — Returns the page of data according to page number and items per page.