PHP Class ARContract

Author: Jiulong Zhang ([email protected])
Inheritance: extends DBGrouponContract
Show file Open project: yinhe/yincart Class Usage Examples

Public Methods

Method Description
addImages ( )
attributeLabels ( ) : array
behaviors ( )
model ( $className = __CLASS__ )
myContracts ( ) 获取当前用户创建的合同

Protected Methods

Method Description
afterSave ( )

Method Details

addImages() public method

public addImages ( )

afterSave() protected method

protected afterSave ( )

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

behaviors() public method

public behaviors ( )

model() public static method

public static model ( $className = __CLASS__ )

myContracts() public static method

获取当前用户创建的合同
public static myContracts ( )