Documentation

Announcement
in package
Uses UtilsProvider

Handle Real Product Manager API calls.

Table of Contents

Constants

ENDPOINT_ANNOUNCEMENT  = '1.0.0/announcement'
ENDPOINT_ANNOUNCEMENT_VIEW  = '1.0.0/announcement/view'

Properties

$pluginUpdate  : PluginUpdate
PluginUpdate instance.

Methods

get()  : mixed
`GET` to the REST API of Real Product Manager.
getPluginConstantPrefix()  : string
Get the prefix of this package so we can utils package natively.
getPluginUpdate()  : mixed
Get plugin update instance.
instance()  : mixed
New instance.
postView()  : mixed
`POST` to the REST API of Real Product Manager.
setupConstants()  : mixed
Make sure the RPM_WP_CLIENT constants are available.
__construct()  : mixed
C'tor.

Constants

ENDPOINT_ANNOUNCEMENT

public mixed ENDPOINT_ANNOUNCEMENT = '1.0.0/announcement'

ENDPOINT_ANNOUNCEMENT_VIEW

public mixed ENDPOINT_ANNOUNCEMENT_VIEW = '1.0.0/announcement/view'

Properties

Methods

get()

`GET` to the REST API of Real Product Manager.

public get() : mixed

getPluginConstantPrefix()

Get the prefix of this package so we can utils package natively.

public getPluginConstantPrefix() : string
Return values
string

getPluginUpdate()

Get plugin update instance.

public getPluginUpdate() : mixed
Tags
codeCoverageIgnore

postView()

`POST` to the REST API of Real Product Manager.

public postView(int $id, string $uuid) : mixed
Parameters
$id : int

Announcement id

$uuid : string

User IDs

setupConstants()

Make sure the RPM_WP_CLIENT constants are available.

public static setupConstants() : mixed

        
On this page

Search results