ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 require_once('./Modules/DataCollection/classes/Fields/Base/class.ilDclBaseRecordFieldModel.php');
6 
16  public function parseValue($value) {
17  return $value ? 1 : 0;
18  }
19 
20 
28  public function parseExportValue($value) {
29  return $value ? 1 : 0;
30  }
31 }
parseExportValue($value)
Function to parse incoming data from form input value $value.