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

class Privileg extends Datamodul
{
  public $text = '';
  public $tool_id = -1;

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