original_string: public function getGroups( \Aimeos\MShop\Context\Item\Iface $context )
  	{
  		$list = array();
  		$manager = \Aimeos\MShop::create( $context, 'customer/group' );
  
  		$search = $manager->createSearch();
  		$search->setConditions( $search->compare( '==', 'customer.group.id', $context->getGroupIds() ) );
  
  		foreach( $manager->searchItems( $search ) as $item ) {
  			$list[] = $item->getCode();
  		}
  
  		return $list;
  	}
code: public function getGroups( \Aimeos\MShop\Context\Item\Iface $context )
  	{
  		$list = array();
  		$manager = \Aimeos\MShop::create( $context, 'customer/group' );
  
  		$search = $manager->createSearch();
  		$search->setConditions( $search->compare( '==', 'customer.group.id', $context->getGroupIds() ) );
  
  		foreach( $manager->searchItems( $search ) as $item ) {
  			$list[] = $item->getCode();
  		}
  
  		return $list;
  	}
code_tokens: public function getGroups ( \ Aimeos \ MShop \ Context \ Item \ Iface $ context ) { $ list = array ( ) ; $ manager = \ Aimeos \ MShop :: create ( $ context , 'customer/group' ) ; $ search = $ manager -> createSearch ( ) ; $ search -> setConditions ( $ search -> compare ( '==' , 'customer.group.id' , $ context -> getGroupIds ( ) ) ) ; foreach ( $ manager -> searchItems ( $ search ) as $ item ) { $ list [ ] = $ item -> getCode ( ) ; } return $ list ; }
docstring: Returns the available group codes
  
  @param \Aimeos\MShop\Context\Item\Iface $context Context item
  @return string[] List of group codes
docstring_tokens: Returns the available group codes