Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-admin/src/API/Reports/TimeInterval.php

TimeInterval::normalize_between_params()

Method: Normalize “*_between” parameters to “*_min” and “*_max” for numeric values and “*_after” and “*_before” for date values.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:541

Used by 2 functions | Uses 0 functions

TimeInterval::rest_validate_between_numeric_arg()

Method: Validate a “*_between” range argument (an array with 2 numeric items).

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:582

Used by 0 functions | Uses 0 functions

TimeInterval::rest_validate_between_date_arg()

Method: Validate a “*_between” range argument (an array with 2 date items).

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:614

Used by 0 functions | Uses 0 functions

TimeInterval::next_month_start()

Method: Returns a new DateTime object representing the next month start, or previous month end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:358

Used by 0 functions | Uses 1 function

TimeInterval::next_quarter_start()

Method: Returns a new DateTime object representing the next quarter start, or previous quarter end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:388

Used by 0 functions | Uses 1 function

TimeInterval::next_year_start()

Method: Return a new DateTime object representing the next year start, or previous year end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:448

Used by 0 functions | Uses 1 function

TimeInterval::iterate()

Method: Returns beginning of next time interval for provided DateTime.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:477

Used by 3 functions | Uses 0 functions

TimeInterval::expected_intervals_on_page()

Method: Returns expected number of items on the page in case of date ordering.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:490

Used by 1 function | Uses 0 functions

TimeInterval::intervals_missing()

Method: Returns true if there are any intervals that need to be filled in the response.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:514

Used by 5 functions | Uses 1 function

TimeInterval::next_hour_start()

Method: Returns a new DateTime object representing the next hour start/previous hour end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:281

Used by 0 functions | Uses 1 function
1 2 3 Next »
Proudly powered by WordPress