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


class WebZLink extends Datamodul
{
  
  public $text;
  
  public $bild;
  
  public $link;
  
  public $gewichtung;

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