PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.3.9
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.3.9
4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 4.2.1 All 138 releases
learnpress / inc / Filters / Order / OrderItemsFilter.php

OrderItemsFilter.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.3.9, at inc/Filters/Order/OrderItemsFilter.php

50 lines 918 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace LearnPress\Filters\Order;
4
5 use LearnPress\Filters\FilterBase;
6
7 defined( 'ABSPATH' ) || exit();
8
9 /**
10 * Class LPOrderItemsDB
11 *
12 * @author tungnx
13 * @since 4.3.2
14 * @version 1.0.0
15 */
16 class OrderItemsFilter extends FilterBase {
17 const COL_ORDER_ITEM_ID = 'order_item_id';
18 const COL_ORDER_ID = 'order_id';
19 const COL_ITEM_ID = 'item_id';
20 const COL_ITEM_NAME = 'order_item_name';
21 const COL_ITEM_TYPE = 'item_type';
22 /**
23 * @var string[] all fields of table
24 */
25 public $all_fields = [
26 self::COL_ORDER_ITEM_ID,
27 self::COL_ORDER_ID,
28 self::COL_ITEM_ID,
29 self::COL_ITEM_NAME,
30 self::COL_ITEM_TYPE,
31 ];
32 /**
33 * @var int
34 */
35 public $order_item_id;
36 /**
37 * @var int
38 */
39 public $order_id;
40 /**
41 * @var int
42 */
43 public $item_id;
44 /**
45 * @var string
46 */
47 public $item_type;
48 public $field_count = self::COL_ORDER_ITEM_ID;
49 }
50