<?php

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


class Typo3Filter
{
  private static $_instanz = null;
  private $_aussenstellenIds = array();

  
  private function __construct()
  {
  }

  
  public static function getInstance()
  {
    if (is_null(self::$_instanz)) {
      self::$_instanz = new Typo3Filter();
    }

    return self::$_instanz;
  }

  
  public function setFilterAussenstellenByIds($pAussenstellenIds)
  {
    if (! is_array($pAussenstellenIds)) {
      if (is_numeric($pAussenstellenIds)) { 
        $this->_aussenstellenIds = array($pAussenstellenIds);
      }
    } else {
      $this->_aussenstellenIds = $pAussenstellenIds;
    }
  }

  
  public function getFilterAussenstellen()
  {
    return $this->_aussenstellenIds;
  }
}