XBRL-Instance.php
public function NoSegmentContexts()
	{
		$filtered = array_filter( $this->contexts, function( $context ) {
			// The context may be invalid in which case exclude
			return ( ! isset( $context['entity']['segment']['explicitMember'] ) || count( $context['entity']['segment']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['entity']['scenario']['explicitMember'] ) || count( $context['entity']['scenario']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['segment']['explicitMember'] ) || count( $context['segment']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['scenario']['explicitMember'] ) || count( $context['scenario']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['entity']['segment']['typedMember'] ) || count( $context['entity']['segment']['typedMember'] ) == 0 ) &&
				   ( ! isset( $context['entity']['scenario']['typedMember'] ) || count( $context['entity']['scenario']['typedMember'] ) == 0 ) &&
				   ( ! isset( $context['segment']['typedMember'] ) || count( $context['segment']['typedMember'] ) == 0 ) &&
				   ( ! isset( $context['scenario']['typedMember'] ) || count( $context['scenario']['typedMember'] ) == 0 );		} );

		return new ContextsFilter( $this->instance, $filtered );
	}
public function NoSegmentContexts()
	{
		$filtered = array_filter( $this->contexts, function( $context ) {
			// The context may be invalid in which case exclude
			return ( ! isset( $context['entity']['segment']['explicitMember'] ) || count( $context['entity']['segment']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['entity']['scenario']['explicitMember'] ) || count( $context['entity']['scenario']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['segment']['explicitMember'] ) || count( $context['segment']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['scenario']['explicitMember'] ) || count( $context['scenario']['explicitMember'] ) == 0 ) &&
				   ( ! isset( $context['entity']['segment']['typedMember'] ) || count( $context['entity']['segment']['typedMember'] ) == 0 ) &&
				   ( ! isset( $context['entity']['scenario']['typedMember'] ) || count( $context['entity']['scenario']['typedMember'] ) == 0 ) &&
				   ( ! isset( $context['segment']['typedMember'] ) || count( $context['segment']['typedMember'] ) == 0 ) &&
				   ( ! isset( $context['scenario']['typedMember'] ) || count( $context['scenario']['typedMember'] ) == 0 );		} );

		return new ContextsFilter( $this->instance, $filtered );
	}
public function NoSegmentContexts ( ) { $ filtered = array_filter ( $ this -> contexts , function ( $ context ) { // The context may be invalid in which case exclude
 return ( ! isset ( $ context [ 'entity' ] [ 'segment' ] [ 'explicitMember' ] ) || count ( $ context [ 'entity' ] [ 'segment' ] [ 'explicitMember' ] ) == 0 ) && ( ! isset ( $ context [ 'entity' ] [ 'scenario' ] [ 'explicitMember' ] ) || count ( $ context [ 'entity' ] [ 'scenario' ] [ 'explicitMember' ] ) == 0 ) && ( ! isset ( $ context [ 'segment' ] [ 'explicitMember' ] ) || count ( $ context [ 'segment' ] [ 'explicitMember' ] ) == 0 ) && ( ! isset ( $ context [ 'scenario' ] [ 'explicitMember' ] ) || count ( $ context [ 'scenario' ] [ 'explicitMember' ] ) == 0 ) && ( ! isset ( $ context [ 'entity' ] [ 'segment' ] [ 'typedMember' ] ) || count ( $ context [ 'entity' ] [ 'segment' ] [ 'typedMember' ] ) == 0 ) && ( ! isset ( $ context [ 'entity' ] [ 'scenario' ] [ 'typedMember' ] ) || count ( $ context [ 'entity' ] [ 'scenario' ] [ 'typedMember' ] ) == 0 ) && ( ! isset ( $ context [ 'segment' ] [ 'typedMember' ] ) || count ( $ context [ 'segment' ] [ 'typedMember' ] ) == 0 ) && ( ! isset ( $ context [ 'scenario' ] [ 'typedMember' ] ) || count ( $ context [ 'scenario' ] [ 'typedMember' ] ) == 0 ) ; } ) ; return new ContextsFilter ( $ this -> instance , $ filtered ) ; }
Return a list of the contexts without a segment
@return ContextsFilter
Return a list of the contexts without a segment