Class ProductAttributeRepositoryReader
| category |
System |
|---|---|
| package |
ProductModule |
| subpackage |
Reader |
__construct(\CI_DB_query_builder $db, \ProductAttributeFactoryInterface $factory)
_callStoredProductAttributeSetter(\StoredProductAttributeInterface $storedProductAttribute, array $data) : \ProductAttributeRepositoryReader|$this
| throws |
IF the provided product attribute is not valid. |
|---|
\StoredProductAttributeInterface
array
\ProductAttributeRepositoryReader|$thisSame instance for chained method calls.
getAttributeById(\IdType $productAttributeId) : \StoredProductAttributeInterface
| throws |
If the requested product attribute was not found. If the provided attribute ID is not valid. |
|---|
\StoredProductAttributeInterfaceExpected product attribute entity.
getAttributesByProductId(\IdType $productId) : \StoredProductAttributeCollection
| throws |
If the requested attributes were not found. If the provided product ID ist not valid. |
|---|
\StoredProductAttributeCollectionCollection which contains all expected product attribute entities.
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder