admin/jqadm/src/Admin/JQAdm/Product/Text/Standard.php
protected function addViewData( \Aimeos\MW\View\Iface $view )
	{
		$context = $this->getContext();

		$textTypeManager = \Aimeos\MShop::create( $context, 'text/type' );
		$listTypeManager = \Aimeos\MShop::create( $context, 'product/lists/type' );

		$search = $textTypeManager->createSearch( true )->setSlice( 0, 10000 );
		$search->setConditions( $search->compare( '==', 'text.type.domain', 'product' ) );
		$search->setSortations( array( $search->sort( '+', 'text.type.position' ) ) );

		$listSearch = $listTypeManager->createSearch( true )->setSlice( 0, 10000 );
		$listSearch->setConditions( $listSearch->compare( '==', 'product.lists.type.domain', 'text' ) );
		$listSearch->setSortations( array( $listSearch->sort( '+', 'product.lists.type.position' ) ) );

		$view->textTypes = $this->map( $textTypeManager->searchItems( $search ) );
		$view->textListTypes = $this->map( $listTypeManager->searchItems( $listSearch ) );

		return $view;
	}
protected function addViewData( \Aimeos\MW\View\Iface $view )
	{
		$context = $this->getContext();

		$textTypeManager = \Aimeos\MShop::create( $context, 'text/type' );
		$listTypeManager = \Aimeos\MShop::create( $context, 'product/lists/type' );

		$search = $textTypeManager->createSearch( true )->setSlice( 0, 10000 );
		$search->setConditions( $search->compare( '==', 'text.type.domain', 'product' ) );
		$search->setSortations( array( $search->sort( '+', 'text.type.position' ) ) );

		$listSearch = $listTypeManager->createSearch( true )->setSlice( 0, 10000 );
		$listSearch->setConditions( $listSearch->compare( '==', 'product.lists.type.domain', 'text' ) );
		$listSearch->setSortations( array( $listSearch->sort( '+', 'product.lists.type.position' ) ) );

		$view->textTypes = $this->map( $textTypeManager->searchItems( $search ) );
		$view->textListTypes = $this->map( $listTypeManager->searchItems( $listSearch ) );

		return $view;
	}
protected function addViewData ( \ Aimeos \ MW \ View \ Iface $ view ) { $ context = $ this -> getContext ( ) ; $ textTypeManager = \ Aimeos \ MShop :: create ( $ context , 'text/type' ) ; $ listTypeManager = \ Aimeos \ MShop :: create ( $ context , 'product/lists/type' ) ; $ search = $ textTypeManager -> createSearch ( true ) -> setSlice ( 0 , 10000 ) ; $ search -> setConditions ( $ search -> compare ( '==' , 'text.type.domain' , 'product' ) ) ; $ search -> setSortations ( array ( $ search -> sort ( '+' , 'text.type.position' ) ) ) ; $ listSearch = $ listTypeManager -> createSearch ( true ) -> setSlice ( 0 , 10000 ) ; $ listSearch -> setConditions ( $ listSearch -> compare ( '==' , 'product.lists.type.domain' , 'text' ) ) ; $ listSearch -> setSortations ( array ( $ listSearch -> sort ( '+' , 'product.lists.type.position' ) ) ) ; $ view -> textTypes = $ this -> map ( $ textTypeManager -> searchItems ( $ search ) ) ; $ view -> textListTypes = $ this -> map ( $ listTypeManager -> searchItems ( $ listSearch ) ) ; return $ view ; }
Adds the required data used in the text template

@param \Aimeos\MW\View\Iface $view View object
@return \Aimeos\MW\View\Iface View object with assigned parameters
Adds the required data used in the text template