You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build/shortpixel/shortq/src/DataProvider/DataProvider.php
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,14 +10,17 @@
10
10
*/
11
11
interface DataProvider
12
12
{
13
-
13
+
14
14
function__construct($pluginSlug, $queueName);
15
15
16
16
//function add($items);
17
17
functionenqueue($items);
18
18
functiondequeue($args); // @return Items removed from queue and set to status. Returns Item Object
19
-
functionalterqueue($args); // @return Item Count / Boolean . Mass alteration of queue.
19
+
functionalterQueue($changes, $conditions, $operators); // @return Item Count / Boolean . Mass alteration of queue. ( changes, what to change, conditions, basically where statement)
20
20
functionitemUpdate(Item$item, $new_status);
21
+
functiongetItem($item_id);
22
+
functiongetItems($args); // get items on basis of status / updated date /etc
0 commit comments