Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Sonata
Component
Product
ProductManagerInterface
findEnabledFromIdAndSlug
Sonata\Component\Product\ProductManagerInterface::findEnabledFromIdAndSlug PHP Метод
Документация по интерфейсу ProductManagerInterface
Показать файл
Открыть проект
findEnabledFromIdAndSlug()
публичный
Метод
Retrieve an active product from its id and its slug.
public
findEnabledFromIdAndSlug
(
integer
$id
,
string
$slug
) :
Sonata\Component\Product\ProductInterface |
null
$id
integer
$slug
string
Результат
Sonata\Component\Product\ProductInterface |
null
public function findEnabledFromIdAndSlug($id, $slug);
ProductManagerInterface
findEnabledFromIdAndSlug
findInSameCollections
findParentsInSameCollections
findVariations
updateStock