PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.4
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.4
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 / CourseSectionFilter.php

CourseSectionFilter.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.4.4, at inc/Filters/CourseSectionFilter.php

53 lines 966 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;
4
5 defined( 'ABSPATH' ) || exit();
6
7 /**
8 * Class CourseSectionFilter
9 *
10 * Refactor of LP_Section_Filter
11 *
12 * @version 4.1.4.2
13 */
14 class CourseSectionFilter extends FilterBase {
15 const COL_SECTION_ID = 'section_id';
16 const COL_SECTION_NAME = 'section_name';
17 const COL_SECTION_COURSE_ID = 'section_course_id';
18 const COL_SECTION_ORDER = 'section_order';
19 const COL_SECTION_DESCRIPTION = 'section_description';
20 /**
21 * @var string[] all fields of table
22 */
23 public $all_fields = [
24 self::COL_SECTION_ID,
25 self::COL_SECTION_NAME,
26 self::COL_SECTION_COURSE_ID,
27 self::COL_SECTION_ORDER,
28 self::COL_SECTION_DESCRIPTION,
29 ];
30
31 public $section_id;
32 /**
33 * @var int
34 */
35 public $section_course_id;
36 /**
37 * @var string
38 */
39 public $section_name;
40 /**
41 * @var string
42 */
43 public $section_description;
44 /**
45 * @var int
46 */
47 public $section_order;
48 /**
49 * @var int[]
50 */
51 public $section_ids = [];
52 }
53