ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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
5
15{
16 public function parseValue($value)
17 {
18 return $value ? 1 : 0;
19 }
20
21
29 public function parseExportValue($value)
30 {
31 return $value ? 1 : 0;
32 }
33}
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.