ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilDclBooleanRecordFieldModel.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
26 public function parseValue($value): int
27 {
28 return $value ? 1 : 0;
29 }
30
35 public function parseExportValue($value): int
36 {
37 return $value ? 1 : 0;
38 }
39}
parseExportValue($value)
Function to parse incoming data from form input value $value.