PHP Class Thenbsp\Wechat\Message\Entity\ArticleItem

Inheritance: extends Thenbsp\Wechat\Message\Entity
Mostra file Open project: thenbsp/wechat

Protected Properties

Property Type Description
$description 图文消息描述
$picUrl 图片链接
$title 图文消息标题
$url 点击图文消息跳转链接

Public Methods

Method Description
getBody ( ) 消息内容
getType ( ) 消息类型
setDescription ( $description ) 设置图文消息描述
setPicUrl ( $picUrl ) 设置图片链接
setTitle ( $title ) 设置图文消息标题
setUrl ( $url ) 设置点击图文消息跳转链接

Method Details

getBody() public method

消息内容
public getBody ( )

getType() public method

消息类型
public getType ( )

setDescription() public method

设置图文消息描述
public setDescription ( $description )

setPicUrl() public method

设置图片链接
public setPicUrl ( $picUrl )

setTitle() public method

设置图文消息标题
public setTitle ( $title )

setUrl() public method

设置点击图文消息跳转链接
public setUrl ( $url )

Property Details

$description protected_oe property

图文消息描述
protected $description

$picUrl protected_oe property

图片链接
protected $picUrl

$title protected_oe property

图文消息标题
protected $title

$url protected_oe property

点击图文消息跳转链接
protected $url