XBRL.php
public function &getElementById( $id )
	{
		$id = urldecode( $id );

		$fragment = parse_url( $id, PHP_URL_FRAGMENT );
		$fragment = $fragment ? $fragment : $id;

		if ( ! isset( $this->elementIndex[ $fragment ] ) )
		{
			$false = false;
			return $false;
		}
		$element = &$this->elementIndex[ $fragment ];
		return $element;
	}
public function &getElementById( $id )
	{
		$id = urldecode( $id );

		$fragment = parse_url( $id, PHP_URL_FRAGMENT );
		$fragment = $fragment ? $fragment : $id;

		if ( ! isset( $this->elementIndex[ $fragment ] ) )
		{
			$false = false;
			return $false;
		}
		$element = &$this->elementIndex[ $fragment ];
		return $element;
	}
public function & getElementById ( $ id ) { $ id = urldecode ( $ id ) ; $ fragment = parse_url ( $ id , PHP_URL_FRAGMENT ) ; $ fragment = $ fragment ? $ fragment : $ id ; if ( ! isset ( $ this -> elementIndex [ $ fragment ] ) ) { $ false = false ; return $ false ; } $ element = & $ this -> elementIndex [ $ fragment ] ; return $ element ; }
Gets an element based on its id
@param string $id The id of the element to return
@return Array An element array or false
Gets an element based on its id