PHP Class renren, thinksns

Afficher le fichier Open project: medz/thinksns-4 Class Usage Examples

Méthodes publiques

Méthode Description
checkUser ( $type = 'bind' ) 验证用户
getUrl ( $callbackurl )
saveData ( $data ) 保存数据
transpond ( $transpondId, $reId, $content = '', $opt = null ) 转发一条分享
update ( $text, $opt ) 发布一条分享
upload ( $text, $opt, $pic ) 上传一个照片,并发布一条分享
userInfo ( ) 用户资料

Private Methods

Méthode Description
getCallback ( $site = '', $type = 'bind', $callbackurl = '' )

Method Details

checkUser() public méthode

验证用户
public checkUser ( $type = 'bind' )

getUrl() public méthode

public getUrl ( $callbackurl )

saveData() public méthode

保存数据
public saveData ( $data )

transpond() public méthode

转发一条分享
public transpond ( $transpondId, $reId, $content = '', $opt = null )

update() public méthode

发布一条分享
public update ( $text, $opt )

upload() public méthode

上传一个照片,并发布一条分享
public upload ( $text, $opt, $pic )

userInfo() public méthode

用户资料
public userInfo ( )