<?php

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

namespace Kufer\Web\Classes\Api\SearchRestriction;


class SearchRestrictionKatEndedatBisFilter extends SearchRestrictionKatDatumFilter
{
  protected function setFilterKrit($val, $pFromObject, $pToObject)
  {
    $pFromObject->ende_dat = $val;
  }

  protected function initSessionAndRequestName()
  {
    $this->requestName = $this->sessionName = 'katendedatbisfilter';
  }
}

class SearchRestrictionKatEndedatBisRendererText extends SearchRestrictionRendererTextBase
{
  public function __construct($pFilter = null)
  {
    parent::__construct(new SearchRestrictionKatEndedatBisFilter());
  }
}