WonderPush PHP library
  • Namespace
  • Class
Navigation
  • Namespace
  • Class
Namespaces
  • WonderPush
    • Api
    • Errors
    • Net
    • Obj
    • Params
    • Util
Classes
  • Application
  • ApplicationCollection
  • BaseObject
  • Collection
  • DeliveriesCreateResponse
  • Event
  • GeoLocation
  • Installation
  • InstallationApplication
  • InstallationApplicationApple
  • InstallationCollection
  • InstallationDevice
  • InstallationDeviceCapabilities
  • InstallationDeviceConfiguration
  • InstallationPreferences
  • InstallationPushToken
  • Notification
  • NotificationAlert
  • NotificationAlertAndroid
  • NotificationAlertAndroidButton
  • NotificationAlertIos
  • NotificationAlertIosAttachment
  • NotificationAlertIosForeground
  • NotificationAlertWeb
  • NotificationAlertWebButton
  • NotificationButton
  • NotificationButtonAction
  • NotificationButtonActionEvent
  • NotificationInApp
  • NotificationInAppButton
  • NotificationInAppMap
  • NotificationInAppMapPlace
  • NotificationPush
  • NotificationPushAndroid
  • NotificationPushIos
  • NotificationPushWeb
  • NullObject
  • Pagination
  • SuccessResponse
  • User
  • WebSdkInitOptions

Class NotificationButton

DTO part base for notification button reusability.

WonderPush\Obj\BaseObject implements WonderPush\Util\JsonSerializable
┗ WonderPush\Obj\NotificationButton

Direct known subclasses

WonderPush\Obj\NotificationAlertAndroidButton, WonderPush\Obj\NotificationAlertWebButton, WonderPush\Obj\NotificationInAppButton

Namespace: WonderPush\Obj
See: WonderPush\Obj\NotificationButton
Codecoverageignore
Located at Obj/NotificationButton.php

Methods summary

public getLabel( void ) : string

Returns

string
public setLabel( string $label ) : WonderPush\Obj\NotificationButton

Parameters

$label

Returns

WonderPush\Obj\NotificationButton
public getTargetUrl( void ) : string

Returns

string
public setTargetUrl( string $targetUrl ) : WonderPush\Obj\NotificationButton

Parameters

$targetUrl

Returns

WonderPush\Obj\NotificationButton
public getActions( void ) : WonderPush\Obj\NotificationButtonAction[]

Returns

WonderPush\Obj\NotificationButtonAction[]
public setActions( WonderPush\Obj\NotificationButtonAction[]|array[] $actions ) : WonderPush\Obj\NotificationButton

Parameters

$actions

Returns

WonderPush\Obj\NotificationButton

Methods inherited from WonderPush\Obj\BaseObject

__construct(), __toString(), _new(), clearAllFields(), deepClone(), jsonSerialize(), toArray(), toData()

WonderPush PHP library API documentation generated by ApiGen