| 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 mixed |
| 19: | */ |
| 20: | public $Value; |
| 21: | |
| 22: | /** |
| 23: | * @var string |
| 24: | */ |
| 25: | public $Type; |
| 26: | |
| 27: | /** |
| 28: | * @var string |
| 29: | */ |
| 30: | public $SpecType; |
| 31: | |
| 32: | /** |
| 33: | * @var bool |
| 34: | */ |
| 35: | public $Changed; |
| 36: | |
| 37: | /** |
| 38: | * @var string |
| 39: | */ |
| 40: | public $Description; |
| 41: | |
| 42: | /** |
| 43: | * @var bool |
| 44: | */ |
| 45: | public $IsDefault; |
| 46: | |
| 47: | /** |
| 48: | * |
| 49: | * @param mixed $mValue |
| 50: | * @param string $sType |
| 51: | * @param string $sSpecType |
| 52: | * @param string $sDescription |
| 53: | */ |
| 54: | public function __construct($mValue, $sType, $sSpecType = null, $sDescription = '') |
| 55: | { |
| 56: | $this->Value = $mValue; |
| 57: | $this->Type = $sType; |
| 58: | $this->SpecType = $sSpecType; |
| 59: | $this->Description = $sDescription; |
| 60: | $this->Changed = false; |
| 61: | $this->IsDefault = true; |
| 62: | } |
| 63: | } |
| 64: |