src/UI/HTML/Tag.php
public function getData( $key = NULL ){
		if( is_null( $key ) )
			return $this->data ;
		if( !array_key_exists( $key, $this->data ) )
			return NULL;
		return $this->data[$key];
	}
public function getData( $key = NULL ){
		if( is_null( $key ) )
			return $this->data ;
		if( !array_key_exists( $key, $this->data ) )
			return NULL;
		return $this->data[$key];
	}
public function getData ( $ key = NULL ) { if ( is_null ( $ key ) ) return $ this -> data ; if ( ! array_key_exists ( $ key , $ this -> data ) ) return NULL ; return $ this -> data [ $ key ] ; }
Returns value of tag data if set or map of all data if not key is set.
@access		public
@param		string		$key		Key of data to get
@return		mixed|array|NULL
Returns value of tag data if set or map of all data if not key is set .