PHP Class MedalApi, thinksns

Author: Medz Seven ([email protected])
Inheritance: extends Api
Mostrar archivo Open project: medz/thinksns-4

Public Methods

Method Description
getAll ( ) : array 获取全部勋章
getUser ( ) : array 获取用户勋章

Private Methods

Method Description
formatMedal ( array $medals, array $data = [] ) : array 格式化出需要的数据

Method Details

getAll() public method

获取全部勋章
Author: Seven Du ([email protected])
public getAll ( ) : array
return array

getUser() public method

获取用户勋章
Author: Seven Du ([email protected])
public getUser ( ) : array
return array