PHP 클래스 common\models\Goods

상속: extends yii\db\ActiveRecord
파일 보기 프로젝트 열기: daixianceng/xiaoego.com 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$image
$photos

공개 메소드들

메소드 설명
attributeLabels ( )
behaviors ( )
getCategory ( ) : ActiveQuery
getImages ( ) : ActiveQuery
getIsHotList ( )
getIsHotMsg ( )
getIsNewList ( )
getIsNewMsg ( )
getIsPromotionList ( )
getIsPromotionMsg ( )
getStatusList ( )
getStatusMsg ( )
getStore ( ) : ActiveQuery
getSurpluses ( ) : ActiveQuery
moveSurplus ( integer $number, string $remark ) : boolean 调整库存
rules ( )
tableName ( )

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( )

behaviors() 공개 메소드

public behaviors ( )

getCategory() 공개 메소드

public getCategory ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getImages() 공개 메소드

public getImages ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getIsHotList() 공개 정적인 메소드

public static getIsHotList ( )

getIsHotMsg() 공개 메소드

public getIsHotMsg ( )

getIsNewList() 공개 정적인 메소드

public static getIsNewList ( )

getIsNewMsg() 공개 메소드

public getIsNewMsg ( )

getIsPromotionList() 공개 정적인 메소드

public static getIsPromotionList ( )

getIsPromotionMsg() 공개 메소드

public getIsPromotionMsg ( )

getStatusList() 공개 정적인 메소드

public static getStatusList ( )

getStatusMsg() 공개 메소드

public getStatusMsg ( )

getStore() 공개 메소드

public getStore ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

getSurpluses() 공개 메소드

public getSurpluses ( ) : ActiveQuery
리턴 yii\db\ActiveQuery

moveSurplus() 공개 메소드

调整库存
public moveSurplus ( integer $number, string $remark ) : boolean
$number integer
$remark string
리턴 boolean

rules() 공개 메소드

public rules ( )

tableName() 공개 정적인 메소드

public static tableName ( )

프로퍼티 상세

$image 공개적으로 프로퍼티

public $image

$photos 공개적으로 프로퍼티

public $photos