PHP Class sina, thinksns

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

Méthodes publiques

Свойство Type Description
$loginUrl

Méthodes publiques

Méthode Description
__construct ( )
checkUser ( ) 验证用户
getTokenInfo ( $access_token ) 获取token信息
getUrl ( $call_back = null )
saveData ( $data ) 保存数据
transpond ( $transpondId, $reId, $content = '', $opt = null ) 转发一条分享
update ( $text, $opt ) 发布一条分享
upload ( $text, $opt, $pic ) 上传一个照片,并发布一条分享
userInfo ( $opt = [] ) 用户资料

Private Methods

Méthode Description
doClient ( $opt )

Method Details

__construct() public méthode

public __construct ( )

checkUser() public méthode

验证用户
public checkUser ( )

getTokenInfo() public méthode

获取token信息
public getTokenInfo ( $access_token )

getUrl() public méthode

public getUrl ( $call_back = null )

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 ( $opt = [] )

Property Details

$loginUrl public_oe property

public $loginUrl