/**
  * Initialize this instance for a plugin
  * @param string $qualifier
  */
 public function init($qualifier)
 {
     $this->setQualifier($qualifier);
     // get parametersArray for defined qualifier
     $parametersArray = $this->getParametersPlain($qualifier);
     tx_rnbase_util_Arrays::overwriteArray($this, $parametersArray);
 }
 /**
  * Returns an ArrayObject containing all parameters
  * @param tx_rnbase_configurations $configurations
  */
 protected function _makeParameterObject($configurations)
 {
     $parameters = tx_rnbase::makeInstance('tx_rnbase_parameters');
     $parameters->setQualifier($configurations->getQualifier());
     // get parametersArray for defined qualifier
     $parametersArray = tx_rnbase_parameters::getPostAndGetParametersMerged($configurations->getQualifier());
     if ($configurations->isUniqueParameters() && array_key_exists($configurations->getPluginId(), $parametersArray)) {
         $parametersArray = $parametersArray[$configurations->getPluginId()];
     }
     tx_rnbase_util_Arrays::overwriteArray($parameters, $parametersArray);
     // Initialize the cHash system if there are parameters available
     if (!$configurations->isPluginUserInt() && $GLOBALS['TSFE'] && $parameters->count()) {
         // Bei USER_INT wird der cHash nicht benötigt und führt zu 404
         $GLOBALS['TSFE']->reqCHash();
     }
     return $parameters;
 }