public function get($key, $persistent = false)
	{
		if ($persistent) {
			$origKey = $key;
			$key = "PVALUE.$key";
		}

		$key = strtoupper($key);

		if (isset($this->_config[$key]))
		{
			$value = $this->_config[$key];
			if ($value instanceof IProcessParameter)
			{
				return $value->getParameter();
			}
			else
			{
				return $value;
			}
		}
		elseif ($persistent)
		{
			if ($this->get($origKey) != "")
				$value = $this->get($origKey);
			else if ($this->getSession($key))
				$value = $this->getSession($key);
			else
				$value = "";

			$this->setSession($key, $value);
			$this->set($key, $value);

			return $value;
		}
		else
		{
			return "";
		}
	}
public function get($key, $persistent = false)
	{
		if ($persistent) {
			$origKey = $key;
			$key = "PVALUE.$key";
		}

		$key = strtoupper($key);

		if (isset($this->_config[$key]))
		{
			$value = $this->_config[$key];
			if ($value instanceof IProcessParameter)
			{
				return $value->getParameter();
			}
			else
			{
				return $value;
			}
		}
		elseif ($persistent)
		{
			if ($this->get($origKey) != "")
				$value = $this->get($origKey);
			else if ($this->getSession($key))
				$value = $this->getSession($key);
			else
				$value = "";

			$this->setSession($key, $value);
			$this->set($key, $value);

			return $value;
		}
		else
		{
			return "";
		}
	}
public function get ( $ key , $ persistent = false ) { if ( $ persistent ) { $ origKey = $ key ; $ key = "PVALUE.$key" ; } $ key = strtoupper ( $ key ) ; if ( isset ( $ this -> _config [ $ key ] ) ) { $ value = $ this -> _config [ $ key ] ; if ( $ value instanceof IProcessParameter ) { return $ value -> getParameter ( ) ; } else { return $ value ; } } elseif ( $ persistent ) { if ( $ this -> get ( $ origKey ) != "" ) $ value = $ this -> get ( $ origKey ) ; else if ( $ this -> getSession ( $ key ) ) $ value = $ this -> getSession ( $ key ) ; else $ value = "" ; $ this -> setSession ( $ key , $ value ) ; $ this -> set ( $ key , $ value ) ; return $ value ; } else { return "" ; } }
Access the Context collection and returns the value from a key.
@access public
@return string
Access the Context collection and returns the value from a key .