PHP 클래스 Smile\ElasticsuiteVirtualCategory\Model\ResourceModel\Category\Product\Position

저자: Aurelien FOUCRET ([email protected])
상속: extends Magento\Framework\Model\ResourceModel\Db\AbstractDb
파일 보기 프로젝트 열기: smile-sa/elasticsuite 1 사용 예제들

공개 메소드들

메소드 설명
getProductPositionsByCategory ( Magento\Catalog\Api\Data\CategoryInterface | integer $category ) : array Load product positions for the given category.
saveProductPositions ( Magento\Catalog\Api\Data\CategoryInterface $category ) : Position Save the product postions.

보호된 메소드들

메소드 설명
_construct ( )

비공개 메소드들

메소드 설명
getBaseSelect ( ) : Zend_Db_Select Init a base select with the main table.

메소드 상세

_construct() 보호된 메소드

protected _construct ( )

getProductPositionsByCategory() 공개 메소드

Load product positions for the given category.
public getProductPositionsByCategory ( Magento\Catalog\Api\Data\CategoryInterface | integer $category ) : array
$category Magento\Catalog\Api\Data\CategoryInterface | integer Category.
리턴 array

saveProductPositions() 공개 메소드

Save the product postions.
public saveProductPositions ( Magento\Catalog\Api\Data\CategoryInterface $category ) : Position
$category Magento\Catalog\Api\Data\CategoryInterface Saved category.
리턴 Position