protected function _getListTypeItem( $code )
	{
		$manager = MShop_Factory::createManager( $this->_getContext(), 'customer/list/type' );

		$search = $manager->createSearch( true );
		$search->setConditions( $search->compare( '==', 'customer.list.type.code', $code ) );
		$result = $manager->searchItems( $search );

		if( ( $item = reset( $result ) ) === false ) {
			throw new Controller_Jobs_Exception( sprintf( 'List type for domain "%1$s" and code "%2$s" not found', 'customer', $code ) );
		}

		return $item;
	}
protected function _getListTypeItem( $code )
	{
		$manager = MShop_Factory::createManager( $this->_getContext(), 'customer/list/type' );

		$search = $manager->createSearch( true );
		$search->setConditions( $search->compare( '==', 'customer.list.type.code', $code ) );
		$result = $manager->searchItems( $search );

		if( ( $item = reset( $result ) ) === false ) {
			throw new Controller_Jobs_Exception( sprintf( 'List type for domain "%1$s" and code "%2$s" not found', 'customer', $code ) );
		}

		return $item;
	}
protected function _getListTypeItem ( $ code ) { $ manager = MShop_Factory :: createManager ( $ this -> _getContext ( ) , 'customer/list/type' ) ; $ search = $ manager -> createSearch ( true ) ; $ search -> setConditions ( $ search -> compare ( '==' , 'customer.list.type.code' , $ code ) ) ; $ result = $ manager -> searchItems ( $ search ) ; if ( ( $ item = reset ( $ result ) ) === false ) { throw new Controller_Jobs_Exception ( sprintf ( 'List type for domain "%1$s" and code "%2$s" not found' , 'customer' , $ code ) ) ; } return $ item ; }
Returns the customer list type item for the given type code.

@param string $code Unique code of the list type item
@return MShop_Common_Item_Type_Interface List type item
@throws Controller_Jobs_Exception If the list type item wasn't found
Returns the customer list type item for the given type code .