1 | <?php |
||
24 | class Queries extends Stats |
||
25 | { |
||
26 | |||
27 | public function orders() |
||
32 | |||
33 | |||
34 | public function orders_orderby($orderby) |
||
37 | |||
38 | |||
39 | |||
40 | public function orders_today() |
||
44 | |||
45 | public function pending_orders() |
||
49 | |||
50 | public function cancelled_orders() |
||
54 | |||
55 | public function completed_orders() |
||
59 | |||
60 | public function getOrderById($orderid) |
||
64 | |||
65 | public function getOrdersOnDate($date) |
||
69 | |||
70 | |||
71 | public function getOrdersOnDateRange($startdate, $enddate) |
||
74 | |||
75 | |||
76 | /** Function to get an invoice */ |
||
77 | public function getInvoiceById($invoiceid) |
||
81 | |||
82 | |||
83 | /** |
||
84 | * |
||
85 | * User Queries |
||
86 | */ |
||
87 | |||
88 | |||
89 | /** Function to get given user orders */ |
||
90 | public function getUserOrders($userid) |
||
94 | |||
95 | |||
96 | /** Function to get given user orders by status */ |
||
97 | public function getUserOrdersByStatus($userid, $status) |
||
101 | |||
102 | |||
103 | /** Function to get given user invoices */ |
||
104 | public function getUserInvoices($userid) |
||
108 | |||
109 | |||
110 | |||
111 | /** Function to get given user invoices by status */ |
||
112 | public function getUserInvoiceByStatus($userid, $status) |
||
116 | |||
117 | |||
118 | |||
119 | |||
120 | |||
121 | public function getAllBillingHistory() |
||
126 | |||
127 | |||
128 | public function getUserBillingHistory($userid) |
||
133 | |||
134 | |||
135 | |||
136 | public function getUserBillingHistoryByStatus($userid, $status) |
||
141 | } |
||
142 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.