Property | Type | Description | |
---|---|---|---|
$attributeFilter |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
buildCriteriaForTypeAttributes ( array $typeSearchAttributes ) : CDbCriteria |
protected buildCriteriaForTypeAttributes ( array $typeSearchAttributes ) : CDbCriteria | ||
$typeSearchAttributes | array | |
return | CDbCriteria |
public getByBrandProvider ( Producer $producer ) : CActiveDataProvider | ||
$producer | Producer | |
return | CActiveDataProvider |
public getByFilter ( array $mainSearchAttributes, array $typeSearchAttributes ) : CActiveDataProvider | ||
$mainSearchAttributes | array | |
$typeSearchAttributes | array | |
return | CActiveDataProvider |
public getListForCategory ( StoreCategory $category, boolean $withChild = true, null $limit = null ) : CActiveDataProvider | ||
$category | StoreCategory | |
$withChild | boolean | |
$limit | null | |
return | CActiveDataProvider |
public getListForIndexPage ( ) : CActiveDataProvider | ||
return | CActiveDataProvider |