PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 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 All 139 releases
← All changes | inc/Models/steps/class-lp-step.php +48 -48 4.3.9.14.4.8 View file →
@@ -1,48 +1,48 @@
1 -<?php
2 -
3 -/**
4 - * Class LP_Group_Step
5 - *
6 - * @author tungnnx
7 - * @version 1.0.0
8 - * @since 4.0.0
9 - */
10 -class LP_Step extends LP_REST_Response {
11 - /**
12 - * Step Name
13 - *
14 - * @var string
15 - */
16 - public $name = '';
17 - /**
18 - * Step label
19 - *
20 - * @var string
21 - */
22 - public $label = '';
23 - /**
24 - * @var string
25 - */
26 - public $description = '';
27 - /**
28 - * @var int .
29 - */
30 - public $percent = 0;
31 -
32 - /**
33 - * LP_Step constructor.
34 - *
35 - * @param string $name .
36 - * @param string $label .
37 - * @param string $description .
38 - * @param string $status .
39 - */
40 - public function __construct( string $name, string $label, string $description = '', string $status = '' ) {
41 - $this->name = $name;
42 - $this->label = $label;
43 - $this->description = $description;
44 - $this->status = $status;
45 -
46 - parent::__construct();
47 - }
48 -}
1 +<?php
2 +
3 +/**
4 + * Class LP_Group_Step
5 + *
6 + * @author tungnnx
7 + * @version 1.0.0
8 + * @since 4.0.0
9 + */
10 +class LP_Step extends LP_REST_Response {
11 + /**
12 + * Step Name
13 + *
14 + * @var string
15 + */
16 + public $name = '';
17 + /**
18 + * Step label
19 + *
20 + * @var string
21 + */
22 + public $label = '';
23 + /**
24 + * @var string
25 + */
26 + public $description = '';
27 + /**
28 + * @var int .
29 + */
30 + public $percent = 0;
31 +
32 + /**
33 + * LP_Step constructor.
34 + *
35 + * @param string $name .
36 + * @param string $label .
37 + * @param string $description .
38 + * @param string $status .
39 + */
40 + public function __construct( string $name, string $label, string $description = '', string $status = '' ) {
41 + $this->name = $name;
42 + $this->label = $label;
43 + $this->description = $description;
44 + $this->status = $status;
45 +
46 + parent::__construct();
47 + }
48 +}