function getAuthorizationHeader ()
	{
		if (!$this->signed)
		{
			$this->sign($this->usr_id);
		}
		$h   = array();
		$h[] = 'Authorization: OAuth realm=""';
		foreach ($this->param as $name => $value)
		{
			if (strncmp($name, 'oauth_', 6) == 0 || strncmp($name, 'xoauth_', 7) == 0)
          	{
				$h[] = $name.'="'.$value.'"';
			}
		}
		$hs = implode(', ', $h);
		return $hs;
	}
function getAuthorizationHeader ()
	{
		if (!$this->signed)
		{
			$this->sign($this->usr_id);
		}
		$h   = array();
		$h[] = 'Authorization: OAuth realm=""';
		foreach ($this->param as $name => $value)
		{
			if (strncmp($name, 'oauth_', 6) == 0 || strncmp($name, 'xoauth_', 7) == 0)
          	{
				$h[] = $name.'="'.$value.'"';
			}
		}
		$hs = implode(', ', $h);
		return $hs;
	}
function getAuthorizationHeader ( ) { if ( ! $ this -> signed ) { $ this -> sign ( $ this -> usr_id ) ; } $ h = array ( ) ; $ h [ ] = 'Authorization: OAuth realm=""' ; foreach ( $ this -> param as $ name => $ value ) { if ( strncmp ( $ name , 'oauth_' , 6 ) == 0 || strncmp ( $ name , 'xoauth_' , 7 ) == 0 ) { $ h [ ] = $ name . '="' . $ value . '"' ; } } $ hs = implode ( ', ' , $ h ) ; return $ hs ; }
Builds the Authorization header for the request.
Adds all oauth_ and xoauth_ parameters to the Authorization header.

@return string
Builds the Authorization header for the request . Adds all oauth_ and xoauth_ parameters to the Authorization header .