Метод |
Описание |
|
attribute ( $attribute, null $default = null ) : boolean | float | integer | null | string | array |
|
|
attributeDescriptions ( ) : array |
|
|
attributeFile ( $attribute ) : string |
|
|
attributeLabels ( ) : array |
|
|
attributes ( ) |
|
|
beforeDelete ( ) : boolean |
|
|
beforeValidate ( ) : boolean |
|
|
behaviors ( ) : array |
|
|
copy ( ) : null | Product |
|
|
getAttributeGroups ( ) : array |
|
|
getBasePrice ( ) : float |
|
|
getCategoriesId ( ) : mixed |
|
|
getCategoryId ( ) : null | string |
|
|
getDiscountPrice ( ) : float |
|
|
getId ( ) : mixed |
|
|
getImageAlt ( ) : string |
Get image alt tag text |
|
getImageTitle ( ) : string |
Get image title tag text |
|
getImages ( ) : ProductImage[] |
|
|
getInStockList ( ) : array |
|
|
getLink ( ) : mixed |
|
|
getLinkedProducts ( null | string $typeCode = null ) : Product[] |
Список связанных с продуктом продуктов |
|
getLinkedProductsCriteria ( null | string $typeCode = null ) : CDbCriteria |
|
|
getLinkedProductsDataProvider ( null | string $typeCode = null ) : CActiveDataProvider |
|
|
getMetaCanonical ( ) : string |
Get canonical url |
|
getMetaDescription ( ) : string |
|
|
getMetaKeywords ( ) : string |
|
|
getMetaTitle ( ) : string |
|
|
getName ( ) : string |
|
|
getPrice ( array $variantsIds = [] ) : float | mixed |
|
|
getProducerName ( ) : null | string |
|
|
getResultPrice ( ) : float |
|
|
getSpecial ( ) : string |
|
|
getSpecialList ( ) : array |
|
|
getStatusList ( ) : array |
|
|
getStatusTitle ( ) : string |
|
|
getTitle ( ) : string |
|
|
getTypeAttributes ( ) : array |
|
|
getTypesAttributesValues ( ) : array |
|
|
getVariants ( ) : ProductVariant[] |
|
|
getVariantsGroup ( ) : array |
|
|
getVariantsOptions ( ) : array |
Функция для подготовки специфичных настроек элементов option в select при выводе вариантов, которые будут использоваться в js при работе с вариантами |
|
hasDiscount ( ) : boolean |
|
|
isInStock ( ) : integer |
|
|
isSpecial ( ) : integer |
|
|
link ( $product, null $type_id = null ) : boolean |
Связывает продукты |
|
model ( string $className = __CLASS__ ) : Product |
Returns the static model of the specified AR class. |
|
relations ( ) : array |
|
|
rules ( ) : array |
|
|
saveCategories ( array $categoriesId ) : boolean |
Устанавливает дополнительные категории товара |
|
saveData ( array $attributes, array $typeAttributes, array $variants, array $categories = [] ) : boolean |
|
|
saveTypeAttributes ( array $attributes ) : boolean |
|
|
scopes ( ) : array |
|
|
search ( ) : CActiveDataProvider |
Retrieves a list of models based on the current search/filter conditions. |
|
setEmptyQuantity ( ) |
|
|
setTypeAttributes ( array $attributes ) |
|
|
tableName ( ) : string |
|
|