Property | Type | Description | |
---|---|---|---|
$error | |||
$fields | |||
$tableName |
Method | Description | |
---|---|---|
createPostForApi ( $weiba_id, $title, $content, $uid ) | 发表帖子forapi | |
favoriteForApi ( $post_id ) | 收藏帖子 | |
getSourceInfo ( $row_id, $_forApi = false ) | 为feed提供应用数据来源信息 - 与模板weiba_post.feed.php配合使用 | |
syncToFeed ( $post_id, $title, $content, $uid ) : integer | 发帖同步到分享 | |
unfavoriteForApi ( $post_id ) | 取消收藏帖子 |
public createPostForApi ( $weiba_id, $title, $content, $uid ) |
public getSourceInfo ( $row_id, $_forApi = false ) |
public syncToFeed ( $post_id, $title, $content, $uid ) : integer | ||
return | integer | feed_id 分享ID |