PHP Class baidu, thinksns

User: ori Date: 12-8-10 Time: 下午9:48 To change this template use File | Settings | File Templates.
Exibir arquivo Open project: medz/thinksns-4 Class Usage Examples

Public Properties

Property Type Description
$baidu
$loginUrl

Public Methods

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

Method Details

checkUser() public method

验证用户
public checkUser ( )

getUrl() public method

public getUrl ( $redirectUri )

saveData() public method

保存数据
public saveData ( $data )

transpond() public method

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

update() public method

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

upload() public method

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

userInfo() public method

用户资料
public userInfo ( )

Property Details

$baidu public_oe property

public $baidu

$loginUrl public_oe property

public $loginUrl