XBRL-Instance.php
public function getContextsByRef( $refs )
	{
		$contexts = array();

		if ( is_array( $refs ) )
		foreach ( $refs as $ref )
		{
			if ( ! isset( $this->contexts[ $ref ] ) ) continue;
			$contexts[ $ref ] = $this->contexts[ $ref ];
		}

		return new ContextsFilter( $this->instance, $contexts );
	}
public function getContextsByRef( $refs )
	{
		$contexts = array();

		if ( is_array( $refs ) )
		foreach ( $refs as $ref )
		{
			if ( ! isset( $this->contexts[ $ref ] ) ) continue;
			$contexts[ $ref ] = $this->contexts[ $ref ];
		}

		return new ContextsFilter( $this->instance, $contexts );
	}
public function getContextsByRef ( $ refs ) { $ contexts = array ( ) ; if ( is_array ( $ refs ) ) foreach ( $ refs as $ ref ) { if ( ! isset ( $ this -> contexts [ $ ref ] ) ) continue ; $ contexts [ $ ref ] = $ this -> contexts [ $ ref ] ; } return new ContextsFilter ( $ this -> instance , $ contexts ) ; }
Get a set of contexts by reference
@param string $refs
@return ContextsFilter
Get a set of contexts by reference