Method | Description | |
---|---|---|
attributeLabels ( ) : array | ||
beforeSave ( ) | ||
getBest ( ) | ||
getBtnList ( ) : type | 得到购物收藏按钮 | |
getDiscount ( ) | ||
getHolderJs ( type $width = '150', type $height = '150', $text = 'No Picture' ) : type | 得到HolderJs | |
getHot ( ) | ||
getListThumb ( ) : type | 得到商品列表缩略图 | |
getMainPic ( ) : type | 得到商品主图 | |
getMainPicPath ( ) : type | 得到商品主图路径 | |
getMainPicUrl ( ) : type | 得到商品主图Url地址 | |
getNew ( ) | ||
getPromote ( ) | ||
getRecentThumb ( ) : type | 得到最近商品缩略图 | |
getRecommendThumb ( ) : type | 得到商品推荐缩略图 | |
getShow ( ) | ||
getSmallThumb ( ) : type | 得到商品小图,显示于购物车中 | |
getTitle ( ) : type | 得到商品标题 | |
getUrl ( ) : string | 得到商品URL地址 | |
model ( string $className = __CLASS__ ) : Item | Returns the static model of the specified AR class. | |
relations ( ) : array | ||
rules ( ) : array | ||
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
tableName ( ) : string |
public attributeLabels ( ) : array | ||
return | array | customized attribute labels (name=>label) |
public getHolderJs ( type $width = '150', type $height = '150', $text = 'No Picture' ) : type | ||
$width | type | |
$height | type | |
return | type |
public search ( ) : CActiveDataProvider | ||
return | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |