original_string: public function get_base($element = array())
  	{
  		if (!($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION) && !empty($element['xml_base_explicit']) && isset($element['xml_base']))
  		{
  			return $element['xml_base'];
  		}
  		elseif ($this->get_link() !== null)
  		{
  			return $this->get_link();
  		}
  		else
  		{
  			return $this->subscribe_url();
  		}
  	}
code: public function get_base($element = array())
  	{
  		if (!($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION) && !empty($element['xml_base_explicit']) && isset($element['xml_base']))
  		{
  			return $element['xml_base'];
  		}
  		elseif ($this->get_link() !== null)
  		{
  			return $this->get_link();
  		}
  		else
  		{
  			return $this->subscribe_url();
  		}
  	}
code_tokens: public function get_base ( $ element = array ( ) ) { if ( ! ( $ this -> get_type ( ) & SIMPLEPIE_TYPE_RSS_SYNDICATION ) && ! empty ( $ element [ 'xml_base_explicit' ] ) && isset ( $ element [ 'xml_base' ] ) ) { return $ element [ 'xml_base' ] ; } elseif ( $ this -> get_link ( ) !== null ) { return $ this -> get_link ( ) ; } else { return $ this -> subscribe_url ( ) ; } }
docstring: Get the base URL value from the feed
  
  Uses `<xml:base>` if available, otherwise uses the first link in the
  feed, or failing that, the URL of the feed itself.
  
  @see get_link
  @see subscribe_url
  
  @param array $element
  @return string
docstring_tokens: Get the base URL value from the feed