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 NotificationAlert

DTO part for notification.alert.

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

Direct known subclasses

WonderPush\Obj\NotificationAlertAndroid, WonderPush\Obj\NotificationAlertIos, WonderPush\Obj\NotificationAlertWeb

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

Methods summary

public getText( void ) : string

Returns

string
public setText( string $text ) : WonderPush\Obj\NotificationAlert

Parameters

$text

Returns

WonderPush\Obj\NotificationAlert
public getTitle( void ) : string

Returns

string
public setTitle( string $title ) : WonderPush\Obj\NotificationAlert

Parameters

$title

Returns

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

Returns

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

Parameters

$targetUrl

Returns

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

Returns

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

Parameters

$actions

Returns

WonderPush\Obj\NotificationAlert
public getReceiveActions( void ) : WonderPush\Obj\NotificationButtonAction[]

Returns

WonderPush\Obj\NotificationButtonAction[]
public setReceiveActions( WonderPush\Obj\NotificationButtonAction[]|array[] $receiveActions ) : WonderPush\Obj\NotificationAlert

Parameters

$receiveActions

Returns

WonderPush\Obj\NotificationAlert
public getIos( void ) : WonderPush\Obj\NotificationAlertIos

Returns

WonderPush\Obj\NotificationAlertIos
public setIos( WonderPush\Obj\NotificationAlertIos|array $ios ) : WonderPush\Obj\NotificationAlert

Parameters

$ios

Returns

WonderPush\Obj\NotificationAlert
public getAndroid( void ) : WonderPush\Obj\NotificationAlertAndroid

Returns

WonderPush\Obj\NotificationAlertAndroid
public setAndroid( WonderPush\Obj\NotificationAlertAndroid|array $android ) : WonderPush\Obj\NotificationAlert

Parameters

$android

Returns

WonderPush\Obj\NotificationAlert
public getWeb( void ) : WonderPush\Obj\NotificationAlertWeb

Returns

WonderPush\Obj\NotificationAlertWeb
public setWeb( WonderPush\Obj\NotificationAlertWeb|array $web ) : WonderPush\Obj\NotificationAlert

Parameters

$web

Returns

WonderPush\Obj\NotificationAlert

Methods inherited from WonderPush\Obj\BaseObject

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

WonderPush PHP library API documentation generated by ApiGen