/**
  * Contructs a new tx_div2007_parameters object associated with the given controller
  *
  * The controller has to be set in a second step.
  *
  * @param		string		cObj
  * @return		void
  */
 public function tx_div2007_parameters($controller)
 {
     parent::tx_div2007_object($controller);
     $this->setArray(tx_div2007_div::_GPmerged($controller->getDesignator()));
     // Initialize the cHash system if there are parameters available
     if ($GLOBALS['TSFE'] && count($parameters)) {
         $GLOBALS['TSFE']->reqCHash();
     }
 }
 /**
  * Purge all instances returned by makeInstance.
  *
  * This function is most useful when called from tearDown in a test case
  * to drop any instances that have been created by the tests.
  *
  * Warning: This is a helper method for unit tests. Do not call this directly in production code!
  *
  * @see makeInstance
  * @return void
  */
 public static function purgeInstances()
 {
     self::$singletonInstances = array();
     self::$nonSingletonInstances = array();
 }