protected function getItems( array $ids, $prefix )
	{
		$search = $this->getManager()->createSearch();
		$search->setConditions( $search->compare( '==', $prefix . '.id', $ids ) );
		$search->setSlice( 0, count( $ids ) );
		$items = $this->toArray( $this->getManager()->searchItems( $search ) );

		return array(
			'items' => ( count( $ids ) === 1 ? reset( $items ) : $items ),
			'success' => true,
		);
	}