public function getData($key, $registry = null)
	{
		if ($registry == null) {
			$registry = $this->default;
		}
		if (is_string($key . $registry) && $this->registryExists($registry)) {
			if (array_key_exists($key, $this->data[self::REGISTRY][$registry])) {
				return $this->data[self::REGISTRY][$registry][$key];
			}
		}
		return null;
	}
public function getData($key, $registry = null)
	{
		if ($registry == null) {
			$registry = $this->default;
		}
		if (is_string($key . $registry) && $this->registryExists($registry)) {
			if (array_key_exists($key, $this->data[self::REGISTRY][$registry])) {
				return $this->data[self::REGISTRY][$registry][$key];
			}
		}
		return null;
	}
public function getData ( $ key , $ registry = null ) { if ( $ registry == null ) { $ registry = $ this -> default ; } if ( is_string ( $ key . $ registry ) && $ this -> registryExists ( $ registry ) ) { if ( array_key_exists ( $ key , $ this -> data [ self :: REGISTRY ] [ $ registry ] ) ) { return $ this -> data [ self :: REGISTRY ] [ $ registry ] [ $ key ] ; } } return null ; }
Retrieves a data value from the registry

@param string $key the name of the key that holds the data
@param string $registry the registry name

@return mixed the data in the key value, null otherwise
Retrieves a data value from the registry