<?php
/**
 * @copyright (c) Kufer Software GmbH, Loisachstrasse 4, D-84453 Mühldorf
 */


class KursAnwesenheitBemerkung extends Datamodul
{
  
  public $schl;

  
  public $text;

  
  public $schluessel;

  
  public $farbe;

  public function setValue2Var($var, $val)
  {
    switch ($var) {
      default: $this->{$var} = $val; break;
    }
  }

  public function getTyp($pFieldName)
  {
    switch ($pFieldName) {
      default:
        return parent::getTyp($pFieldName);
      case 'farbe':
        return \DatamodulVarType::TYPE_INT;
    }
  }
}