Constants

TYPE_NOTIFICATION

TYPE_NOTIFICATION = 1

TYPE_MESSAGE

TYPE_MESSAGE = 2

MAX_LOOP_TASK_DAYS

MAX_LOOP_TASK_DAYS = 15

Properties

$m_title

$m_title : 

Type

$m_content

$m_content : 

Type

$m_expireTime

$m_expireTime : 

Type

$m_sendTime

$m_sendTime : 

Type

$m_acceptTimes

$m_acceptTimes : 

Type

$m_type

$m_type : 

Type

$m_multiPkg

$m_multiPkg : 

Type

$m_style

$m_style : 

Type

$m_action

$m_action : 

Type

$m_custom

$m_custom : 

Type

$m_raw

$m_raw : 

Type

$m_loopInterval

$m_loopInterval : 

Type

$m_loopTimes

$m_loopTimes : 

Type

Methods

__construct()

__construct() 

__destruct()

__destruct() 

setTitle()

setTitle(  $title) 

Parameters

$title

setContent()

setContent(  $content) 

Parameters

$content

setExpireTime()

setExpireTime(  $expireTime) 

Parameters

$expireTime

getExpireTime()

getExpireTime() 

setSendTime()

setSendTime(  $sendTime) 

Parameters

$sendTime

getSendTime()

getSendTime() 

addAcceptTime()

addAcceptTime(  $acceptTime) 

Parameters

$acceptTime

setType()

setType(integer  $type) 

消息类型.

Parameters

integer $type

1:通知 2:透传消息

getType()

getType() 

setMultiPkg()

setMultiPkg(  $multiPkg) 

Parameters

$multiPkg

getMultiPkg()

getMultiPkg() 

setStyle()

setStyle(  $style) 

Parameters

$style

setAction()

setAction(  $action) 

Parameters

$action

setCustom()

setCustom(  $custom) 

Parameters

$custom

setRaw()

setRaw(  $raw) 

Parameters

$raw

getLoopInterval()

getLoopInterval() 

setLoopInterval()

setLoopInterval(  $loopInterval) 

Parameters

$loopInterval

getLoopTimes()

getLoopTimes() 

setLoopTimes()

setLoopTimes(  $loopTimes) 

Parameters

$loopTimes

toJson()

toJson() 

acceptTimeToJson()

acceptTimeToJson() 

isValid()

isValid()