Свойство | Тип | Описание | |
---|---|---|---|
$base | string | the route base |
Метод | Описание | |
---|---|---|
get_reports ( ) : array | Get a simple listing of available reports | |
get_sales_report ( string $fields = null, array $filter = [] ) : array | Get the sales report | |
get_top_sellers_report ( string $fields = null, array $filter = [] ) : array | Get the top sellers report | |
register_routes ( array $routes ) : array | Register the routes for this class |
Метод | Описание | |
---|---|---|
validate_request ( null $id = null, null $type = null, null $context = null ) : boolean | Verify that the current user has permission to view reports |
Метод | Описание | |
---|---|---|
setup_report ( array $filter ) | Setup the report object and parse any date filtering |
public get_reports ( ) : array | ||
Результат | array |
public register_routes ( array $routes ) : array | ||
$routes | array | |
Результат | array |