프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$attributeFilter |
메소드 | 설명 | |
---|---|---|
getByBrandProvider ( Producer $producer ) : CActiveDataProvider | Get products by brand | |
getByFilter ( array $mainSearchAttributes, array $typeSearchAttributes ) : CActiveDataProvider | ||
getById ( $id, array $with = ['producer', 'type.typeAttributes', 'images', 'category', 'variants'] ) : mixed | ||
getByIds ( array $ids ) : CActiveDataProvider | ||
getBySlug ( $slug, array $with = ['producer', 'type.typeAttributes', 'images', 'category', 'variants', 'attributesValues'] ) : mixed | ||
getListForCategory ( StoreCategory $category, boolean $withChild = true, null $limit = null ) : CActiveDataProvider | ||
getListForIndexPage ( ) : CActiveDataProvider | ||
init ( ) | ||
search ( $query ) : array | ||
searchByName ( $name ) : array | mixed | null |
메소드 | 설명 | |
---|---|---|
buildCriteriaForTypeAttributes ( array $typeSearchAttributes ) : CDbCriteria |
protected buildCriteriaForTypeAttributes ( array $typeSearchAttributes ) : CDbCriteria | ||
$typeSearchAttributes | array | |
리턴 | CDbCriteria |
public getByBrandProvider ( Producer $producer ) : CActiveDataProvider | ||
$producer | Producer | |
리턴 | CActiveDataProvider |
public getByFilter ( array $mainSearchAttributes, array $typeSearchAttributes ) : CActiveDataProvider | ||
$mainSearchAttributes | array | |
$typeSearchAttributes | array | |
리턴 | CActiveDataProvider |
public getListForCategory ( StoreCategory $category, boolean $withChild = true, null $limit = null ) : CActiveDataProvider | ||
$category | StoreCategory | |
$withChild | boolean | |
$limit | null | |
리턴 | CActiveDataProvider |
public getListForIndexPage ( ) : CActiveDataProvider | ||
리턴 | CActiveDataProvider |