controller/frontend/src/Controller/Frontend/Subscription/Standard.php
public function getIntervals()
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'attribute' );

		$search = $manager->createSearch( true );
		$expr = array(
			$search->compare( '==', 'attribute.domain', 'product' ),
			$search->compare( '==', 'attribute.type', 'interval' ),
			$search->getConditions(),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSlice( 0, 10000 );

		$list = [];

		foreach( $manager->searchItems( $search, ['text'] ) as $attrItem ) {
			$list[$attrItem->getCode()] = $attrItem;
		}

		return $list;
	}
public function getIntervals()
	{
		$manager = \Aimeos\MShop::create( $this->getContext(), 'attribute' );

		$search = $manager->createSearch( true );
		$expr = array(
			$search->compare( '==', 'attribute.domain', 'product' ),
			$search->compare( '==', 'attribute.type', 'interval' ),
			$search->getConditions(),
		);
		$search->setConditions( $search->combine( '&&', $expr ) );
		$search->setSlice( 0, 10000 );

		$list = [];

		foreach( $manager->searchItems( $search, ['text'] ) as $attrItem ) {
			$list[$attrItem->getCode()] = $attrItem;
		}

		return $list;
	}
public function getIntervals ( ) { $ manager = \ Aimeos \ MShop :: create ( $ this -> getContext ( ) , 'attribute' ) ; $ search = $ manager -> createSearch ( true ) ; $ expr = array ( $ search -> compare ( '==' , 'attribute.domain' , 'product' ) , $ search -> compare ( '==' , 'attribute.type' , 'interval' ) , $ search -> getConditions ( ) , ) ; $ search -> setConditions ( $ search -> combine ( '&&' , $ expr ) ) ; $ search -> setSlice ( 0 , 10000 ) ; $ list = [ ] ; foreach ( $ manager -> searchItems ( $ search , [ 'text' ] ) as $ attrItem ) { $ list [ $ attrItem -> getCode ( ) ] = $ attrItem ; } return $ list ; }
Returns the available interval attribute items

@return \Aimeos\MShop\Attribute\Item\Iface[] Associative list of intervals as keys and interval attribute items as values
Returns the available interval attribute items