Свойство | Type | Description | |
---|---|---|---|
$attributeFilter |
Méthode | 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 |
Méthode | Description | |
---|---|---|
buildCriteriaForTypeAttributes ( array $typeSearchAttributes ) : CDbCriteria |
protected buildCriteriaForTypeAttributes ( array $typeSearchAttributes ) : CDbCriteria | ||
$typeSearchAttributes | array | |
Résultat | CDbCriteria |
public getByBrandProvider ( Producer $producer ) : CActiveDataProvider | ||
$producer | Producer | |
Résultat | CActiveDataProvider |
public getByFilter ( array $mainSearchAttributes, array $typeSearchAttributes ) : CActiveDataProvider | ||
$mainSearchAttributes | array | |
$typeSearchAttributes | array | |
Résultat | CActiveDataProvider |
public getListForCategory ( StoreCategory $category, boolean $withChild = true, null $limit = null ) : CActiveDataProvider | ||
$category | StoreCategory | |
$withChild | boolean | |
$limit | null | |
Résultat | CActiveDataProvider |
public getListForIndexPage ( ) : CActiveDataProvider | ||
Résultat | CActiveDataProvider |