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

Author: Łukasz Chruściel ([email protected])
Inheritance: extends Sylius\Behat\Page\Admin\Crud\UpdatePageInterface
Datei anzeigen Open project: sylius/sylius Interface Usage Examples

Public Methods

Method Description
activateLanguageTab ( string $locale )
associateProducts ( Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType, array $productsNames )
attachImage ( string $path, string $code = null )
changeImageWithCode ( string $code, string $path )
countImages ( ) : integer
disableTracking ( )
enableSlugModification ( string $locale )
enableTracking ( )
getAttributeValue ( string $attribute ) : string
getPriceForChannel ( string $channelName ) : string
getPricingConfigurationForChannelAndCurrencyCalculator ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency ) : string
getSlug ( string $locale ) : string
getValidationMessageForImage ( ) : string
hasAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) : boolean
hasAttribute ( string $attribute ) : boolean
isCodeDisabled ( ) : boolean
isImageCodeDisabled ( ) : boolean
isImageWithCodeDisplayed ( string $code ) : boolean
isMainTaxonChosen ( string $taxonName ) : boolean
isSlugReadOnlyIn ( $locale ) : boolean
isTracked ( ) : boolean
nameItIn ( string $name, string $localeCode )
removeAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType )
removeFirstImage ( )
removeImageWithCode ( string $code )
selectMainTaxon ( Sylius\Component\Core\Model\TaxonInterface $taxon )
specifyPrice ( string $channelName, integer $price )
specifySlugIn ( string $slug, string $locale )

Method Details

activateLanguageTab() public method

public activateLanguageTab ( string $locale )
$locale 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

changeImageWithCode() public method

public changeImageWithCode ( string $code, string $path )
$code string
$path string

countImages() public method

public countImages ( ) : integer
return integer

disableTracking() public method

public disableTracking ( )

enableSlugModification() public method

public enableSlugModification ( string $locale )
$locale string

enableTracking() public method

public enableTracking ( )

getAttributeValue() public method

public getAttributeValue ( string $attribute ) : string
$attribute string
return string

getPriceForChannel() public method

public getPriceForChannel ( string $channelName ) : string
$channelName string
return string

getPricingConfigurationForChannelAndCurrencyCalculator() public method

public getPricingConfigurationForChannelAndCurrencyCalculator ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Currency\Model\CurrencyInterface $currency ) : string
$channel Sylius\Component\Core\Model\ChannelInterface
$currency Sylius\Component\Currency\Model\CurrencyInterface
return string

getSlug() public method

public getSlug ( string $locale ) : string
$locale string
return string

getValidationMessageForImage() public method

hasAssociatedProduct() public method

public hasAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) : boolean
$productName string
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface
return boolean

hasAttribute() public method

public hasAttribute ( string $attribute ) : boolean
$attribute string
return boolean

isCodeDisabled() public method

public isCodeDisabled ( ) : boolean
return boolean

isImageCodeDisabled() public method

public isImageCodeDisabled ( ) : boolean
return boolean

isImageWithCodeDisplayed() public method

public isImageWithCodeDisplayed ( string $code ) : boolean
$code string
return boolean

isMainTaxonChosen() public method

public isMainTaxonChosen ( string $taxonName ) : boolean
$taxonName string
return boolean

isSlugReadOnlyIn() public method

public isSlugReadOnlyIn ( $locale ) : boolean
return boolean

isTracked() public method

public isTracked ( ) : boolean
return boolean

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

removeFirstImage() public method

public removeFirstImage ( )

removeImageWithCode() public method

public removeImageWithCode ( string $code )
$code string

selectMainTaxon() public method

public selectMainTaxon ( Sylius\Component\Core\Model\TaxonInterface $taxon )
$taxon Sylius\Component\Core\Model\TaxonInterface

specifyPrice() public method

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

specifySlugIn() public method

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