public function getParameter($key)
    {
        if (true === isset(self::$parameters[$key])) {
            $value = self::$parameters[$key];
        } else {
            throw new Doozr_Registry_Exception(
                sprintf('Key "%s" does not exist!', $key)
            );
        }

        return $value;
    }
public function getParameter($key)
    {
        if (true === isset(self::$parameters[$key])) {
            $value = self::$parameters[$key];
        } else {
            throw new Doozr_Registry_Exception(
                sprintf('Key "%s" does not exist!', $key)
            );
        }

        return $value;
    }
public function getParameter ( $ key ) { if ( true === isset ( self :: $ parameters [ $ key ] ) ) { $ value = self :: $ parameters [ $ key ] ; } else { throw new Doozr_Registry_Exception ( sprintf ( 'Key "%s" does not exist!' , $ key ) ) ; } return $ value ; }
Getter for parameter.

@param string $key The key or name of the parameter to return value for

@author Benjamin Carl <opensource@clickalicious.de>

@return mixed Value for key if set, otherwise NULL
Getter for parameter .