PHP Интерфейс Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface

Автор: Łukasz Chruściel ([email protected])
Наследование: extends Sylius\Behat\Page\Admin\Crud\UpdatePageInterface
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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 )

Описание методов

activateLanguageTab() публичный Метод

public activateLanguageTab ( string $locale )
$locale string

associateProducts() публичный Метод

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

attachImage() публичный Метод

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

changeImageWithCode() публичный Метод

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

countImages() публичный Метод

public countImages ( ) : integer
Результат integer

disableTracking() публичный Метод

public disableTracking ( )

enableSlugModification() публичный Метод

public enableSlugModification ( string $locale )
$locale string

enableTracking() публичный Метод

public enableTracking ( )

getAttributeValue() публичный Метод

public getAttributeValue ( string $attribute ) : string
$attribute string
Результат string

getPriceForChannel() публичный Метод

public getPriceForChannel ( string $channelName ) : string
$channelName string
Результат string

getPricingConfigurationForChannelAndCurrencyCalculator() публичный Метод

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
Результат string

getSlug() публичный Метод

public getSlug ( string $locale ) : string
$locale string
Результат string

getValidationMessageForImage() публичный Метод

public getValidationMessageForImage ( ) : string
Результат string

hasAssociatedProduct() публичный Метод

public hasAssociatedProduct ( string $productName, Sylius\Component\Product\Model\ProductAssociationTypeInterface $productAssociationType ) : boolean
$productName string
$productAssociationType Sylius\Component\Product\Model\ProductAssociationTypeInterface
Результат boolean

hasAttribute() публичный Метод

public hasAttribute ( string $attribute ) : boolean
$attribute string
Результат boolean

isCodeDisabled() публичный Метод

public isCodeDisabled ( ) : boolean
Результат boolean

isImageCodeDisabled() публичный Метод

public isImageCodeDisabled ( ) : boolean
Результат boolean

isImageWithCodeDisplayed() публичный Метод

public isImageWithCodeDisplayed ( string $code ) : boolean
$code string
Результат boolean

isMainTaxonChosen() публичный Метод

public isMainTaxonChosen ( string $taxonName ) : boolean
$taxonName string
Результат boolean

isSlugReadOnlyIn() публичный Метод

public isSlugReadOnlyIn ( $locale ) : boolean
Результат boolean

isTracked() публичный Метод

public isTracked ( ) : boolean
Результат boolean

nameItIn() публичный Метод

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

removeAssociatedProduct() публичный Метод

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

removeFirstImage() публичный Метод

public removeFirstImage ( )

removeImageWithCode() публичный Метод

public removeImageWithCode ( string $code )
$code string

selectMainTaxon() публичный Метод

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

specifyPrice() публичный Метод

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

specifySlugIn() публичный Метод

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