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


class HinterlegungVerhalten extends HinterlegungDialogBasis
{
  
  public $data;

  
  public function __construct()
  {
    parent::__construct();

    $dbwhlverh = new DBWorkHLVerhalten();
    $this->data = $dbwhlverh->getAll();
  }

  
  public function GetColumnCount()
  {
    return 1;
  }

  
  public function GetColumnTitle($col)
  {
    
    return 'Text';
  }

  
  public function GetColumnWidth($col)
  {
    return '100%';
  }

  
  public function GetIdColumnIndices()
  {
    return array(0);
  }

  
  public function GetRowCount()
  {
    return count($this->data);
  }

  
  public function GetValueAt($row, $col)
  {
    return $this->data[$row]->text;
  }

  protected function getClassAttr()
  {
    return 'class="table"';
  }
}