ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilDclBooleanRecordFieldModel.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
14{
15 public function parseValue($value)
16 {
17 return $value ? 1 : 0;
18 }
19
20
28 public function parseExportValue($value)
29 {
30 return $value ? 1 : 0;
31 }
32}
An exception for terminatinating execution or to throw for unit testing.
parseExportValue($value)
Function to parse incoming data from form input value $value.
parseValue($value)
Function to parse incoming data from form input value $value.