Object Sync for Salesforce Code Documentation

Object_Sync_Sf_Admin_Notice

Object_Sync_Sf_Admin_Notice class.

Table of Contents

$condition  : bool
The condition the notice is checking
$dismissible  : bool
Whether the notice is dismisable or not
$file  : string
The main plugin file
$message  : string
The message that is being displayed
$template  : string
Which template is used for display
$type  : string
What type of notice it is
__construct()  : mixed
Constructor for admin notice class
render()  : mixed
Render an admin notice

Properties

Methods

__construct()

Constructor for admin notice class

public __construct(bool $condition, string $message, bool $dismissible, string $type, string $template) : mixed
Parameters
$condition : bool

whether the condition for the notice was met.

$message : string

the message to show to the user.

$dismissible : bool

whether the user can dismiss this message.

$type : string

what type of message this is.

$template : string

the template to render this message.

Return values
mixed

Search results