XBRL-Instance.php
public function UniqueElementEntries()
	{
		$result = array(); // Build a new array

		foreach ( $this->elements as $name => $entries )
		{
			if ( ! isset( $result[ $name ] ) ) $result[ $name ] = array();

			foreach ( $entries as $key => $entry )
			{
				if ( isset( $entry['tuple_elements'] ) )
				{
					// Just take it
					$result[ $name ][] = $entry;
					continue;
				}

				if ( $this->entry_is_unique( $result[ $name ], $entry ) )
					$result[ $name ][] = $entry;
			}
		}

		return new InstanceElementsFilter( $this, $result );
	}
public function UniqueElementEntries()
	{
		$result = array(); // Build a new array

		foreach ( $this->elements as $name => $entries )
		{
			if ( ! isset( $result[ $name ] ) ) $result[ $name ] = array();

			foreach ( $entries as $key => $entry )
			{
				if ( isset( $entry['tuple_elements'] ) )
				{
					// Just take it
					$result[ $name ][] = $entry;
					continue;
				}

				if ( $this->entry_is_unique( $result[ $name ], $entry ) )
					$result[ $name ][] = $entry;
			}
		}

		return new InstanceElementsFilter( $this, $result );
	}
public function UniqueElementEntries ( ) { $ result = array ( ) ; // Build a new array
 foreach ( $ this -> elements as $ name => $ entries ) { if ( ! isset ( $ result [ $ name ] ) ) $ result [ $ name ] = array ( ) ; foreach ( $ entries as $ key => $ entry ) { if ( isset ( $ entry [ 'tuple_elements' ] ) ) { // Just take it
 $ result [ $ name ] [ ] = $ entry ; continue ; } if ( $ this -> entry_is_unique ( $ result [ $ name ] , $ entry ) ) $ result [ $ name ] [ ] = $ entry ; } } return new InstanceElementsFilter ( $ this , $ result ) ; }
Reduce elements so they only have unique entries
@return InstanceElementsFilter
Reduce elements so they only have unique entries