1: | <?php |
2: | /** |
3: | * This code is licensed under AGPLv3 license or Afterlogic Software License |
4: | * if commercial version of the product was purchased. |
5: | * For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files. |
6: | */ |
7: | |
8: | namespace Aurora\System; |
9: | |
10: | /** |
11: | * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0 |
12: | * @license https://afterlogic.com/products/common-licensing Afterlogic Software License |
13: | * @copyright Copyright (c) 2019, Afterlogic Corp. |
14: | */ |
15: | class SettingsProperty |
16: | { |
17: | /** |
18: | * @var string |
19: | */ |
20: | public $Name; |
21: | |
22: | /** |
23: | * @var mixed |
24: | */ |
25: | public $Value; |
26: | |
27: | /** |
28: | * @var string |
29: | */ |
30: | public $Type; |
31: | |
32: | /** |
33: | * @var string |
34: | */ |
35: | public $SpecType; |
36: | |
37: | /** |
38: | * @var bool |
39: | */ |
40: | public $Changed; |
41: | |
42: | /** |
43: | * |
44: | * @param string $sName |
45: | * @param mixed $mValue |
46: | * @param string $sType |
47: | * @param string $sSpecType |
48: | */ |
49: | public function __construct($sName, $mValue, $sType, $sSpecType = null) |
50: | { |
51: | $this->Name = $sName; |
52: | $this->Value = $mValue; |
53: | $this->Type = $sType; |
54: | $this->SpecType = $sSpecType; |
55: | $this->Changed = false; |
56: | } |
57: | } |
58: |