PHP Interface Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface

Author: Łukasz Chruściel ([email protected])
Inheritance: extends Sylius\Behat\Page\Admin\Crud\CreatePageInterface
Show file Open project: sylius/sylius

Public Methods

Method Description
activateLanguageTab ( string $locale )
addAttribute ( string $attribute, string $value )
associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames )
attachImage ( string $path, string $code = null )
checkChannel ( string $channelName )
choosePricingCalculator ( string $name )
nameItIn ( string $name, string $localeCode )
removeAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType )
removeAttribute ( string $attribute )
selectShippingCategory ( string $shippingCategoryName )
specifyCode ( string $code )
specifyPrice ( string $channelName, integer $price )
specifyPriceForChannelAndCurrency ( integer $price, Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency )
specifySlugIn ( string $slug, string $locale )

Method Details

activateLanguageTab() public method

public activateLanguageTab ( string $locale )
$locale string

addAttribute() public method

public addAttribute ( string $attribute, string $value )
$attribute string
$value string

associateProducts() public method

public associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames )
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface
$productsNames array

attachImage() public method

public attachImage ( string $path, string $code = null )
$path string
$code string

checkChannel() public method

public checkChannel ( string $channelName )
$channelName string

choosePricingCalculator() public method

public choosePricingCalculator ( string $name )
$name string

nameItIn() public method

public nameItIn ( string $name, string $localeCode )
$name string
$localeCode string

removeAssociatedProduct() public method

public removeAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType )
$productName string
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface

removeAttribute() public method

public removeAttribute ( string $attribute )
$attribute string

selectShippingCategory() public method

public selectShippingCategory ( string $shippingCategoryName )
$shippingCategoryName string

specifyCode() public method

public specifyCode ( string $code )
$code string

specifyPrice() public method

public specifyPrice ( string $channelName, integer $price )
$channelName string
$price integer

specifyPriceForChannelAndCurrency() public method

public specifyPriceForChannelAndCurrency ( integer $price, Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency )
$price integer
$channel Sylius\Component\Core\Model\ChannelInterface
$currency Sylius\Component\Currency\Model\CurrencyInterface

specifySlugIn() public method

public specifySlugIn ( string $slug, string $locale )
$slug string
$locale string