PHP Class Thenbsp\Wechat\Menu\Button

Inheritance: implements Thenbsp\Wechat\Menu\ButtonInterface
Mostra file Open project: thenbsp/wechat

Protected Properties

Property Type Description
$mapping 菜单类型映射关系
$name 菜单名称
$type 菜单类型
$value 菜单值(key/url/media_id => value)

Public Methods

Method Description
__construct ( $name, $type, $value ) 构造方法
getData ( ) 菜单数据

Method Details

__construct() public method

构造方法
public __construct ( $name, $type, $value )

getData() public method

菜单数据
public getData ( )

Property Details

$mapping protected_oe property

菜单类型映射关系
protected $mapping

$name protected_oe property

菜单名称
protected $name

$type protected_oe property

菜单类型
protected $type

$value protected_oe property

菜单值(key/url/media_id => value)
protected $value