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

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

Méthodes publiques

Méthode 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 méthode

public activateLanguageTab ( string $locale )
$locale string

associateProducts() public méthode

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

attachImage() public méthode

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

changeImageWithCode() public méthode

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

countImages() public méthode

public countImages ( ) : integer
Résultat integer

disableTracking() public méthode

public disableTracking ( )

enableSlugModification() public méthode

public enableSlugModification ( string $locale )
$locale string

enableTracking() public méthode

public enableTracking ( )

getAttributeValue() public méthode

public getAttributeValue ( string $attribute ) : string
$attribute string
Résultat string

getPriceForChannel() public méthode

public getPriceForChannel ( string $channelName ) : string
$channelName string
Résultat string

getPricingConfigurationForChannelAndCurrencyCalculator() public méthode

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
Résultat string

getSlug() public méthode

public getSlug ( string $locale ) : string
$locale string
Résultat string

getValidationMessageForImage() public méthode

public getValidationMessageForImage ( ) : string
Résultat string

hasAssociatedProduct() public méthode

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

hasAttribute() public méthode

public hasAttribute ( string $attribute ) : boolean
$attribute string
Résultat boolean

isCodeDisabled() public méthode

public isCodeDisabled ( ) : boolean
Résultat boolean

isImageCodeDisabled() public méthode

public isImageCodeDisabled ( ) : boolean
Résultat boolean

isImageWithCodeDisplayed() public méthode

public isImageWithCodeDisplayed ( string $code ) : boolean
$code string
Résultat boolean

isMainTaxonChosen() public méthode

public isMainTaxonChosen ( string $taxonName ) : boolean
$taxonName string
Résultat boolean

isSlugReadOnlyIn() public méthode

public isSlugReadOnlyIn ( $locale ) : boolean
Résultat boolean

isTracked() public méthode

public isTracked ( ) : boolean
Résultat boolean

nameItIn() public méthode

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

removeAssociatedProduct() public méthode

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

removeFirstImage() public méthode

public removeFirstImage ( )

removeImageWithCode() public méthode

public removeImageWithCode ( string $code )
$code string

selectMainTaxon() public méthode

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

specifyPrice() public méthode

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

specifySlugIn() public méthode

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